Taylohtio/IDP/webapi/webapi.Infrastructure/Repositories/Abstract/IFlatRepository.cs

21 lines
772 B
C#

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<Flat>
{
Task<Flat> CreateFlatAsync(Flat flat);
Flat GetFlat(Guid taloyhtioPMCId, string pmsCondoName, string flatTitle);
Flat GetFlatById(Guid flatId);
IEnumerable<Flat> GetFlats(Guid taloyhtioPMCId, string pmsCondoName);
IEnumerable<Flat> GetFlats(IEnumerable<Guid> flatIds);
IEnumerable<Flat> GetFlatWithUserInfo(Guid pmcId);
Task<Flat> EditFlatAsync(Flat flat);
IEnumerable<string> GetAllPMSCondoNames(Guid pmcId);
}
}