using System; using System.Collections.Generic; using System.Threading.Tasks; using webapi.Domain.AggregatesModel.FlatAggregate; using webapi.Infrastructure.Repositories; namespace webapi.Infractructure.Repositories { public interface IFlatRepository : IBaseRepository { Task CreateFlatAsync(Flat flat); Flat GetFlat(Guid taloyhtioPMCId, string pmsCondoName, string flatTitle); Flat GetFlatById(Guid flatId); IEnumerable GetFlats(Guid taloyhtioPMCId, string pmsCondoName); IEnumerable GetFlats(IEnumerable flatIds); IEnumerable GetFlatWithUserInfo(Guid pmcId); Task EditFlatAsync(Flat flat); IEnumerable GetAllPMSCondoNames(Guid pmcId); } }