aboutsummaryrefslogtreecommitdiff
path: root/src/Data/DevHive.Data/Interfaces/IFeedRepository.cs
blob: bda51fa5aab3c93b7cc6af174762d3e8aecb8117 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DevHive.Data.Models;

namespace DevHive.Data.Interfaces
{
	public interface IFeedRepository
	{
		Task<List<Post>> GetFriendsPosts(List<User> friendsList, DateTime firstRequestIssued, int pageNumber, int pageSize);
		Task<List<Post>> GetUsersPosts(User user, DateTime firstRequestIssued, int pageNumber, int pageSize);
	}
}