using System; using System.Collections.Generic; using webapi.Domain.AggregatesModel.UsersFlatApprovalRequestAggregate; using webapi.Infrastructure.Repositories; namespace webapi.Infractructure.Repositories { public interface IUsersFlatApprovalRepository : IBaseRepository { UsersFlatApprovalRequest GetApproval(Guid userId, Guid flatId); IEnumerable GetApprovalsById(IEnumerable Id); IEnumerable GetPendingApprovals(IEnumerable flatsId, Guid? userId); IEnumerable GetPendingApprovals(IEnumerable requestIds); IEnumerable GetApprovedApprovals(IEnumerable flatsId, Guid? userId); IEnumerable GetAllApproval(IEnumerable flatsId); } }