Taylohtio/IDP/webapi/webapi.core/IFlatManager.cs

18 lines
641 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using webapi.Domain.AggregatesModel.FlatAggregate;
using webapi.Domain.AggregatesModel.FlatMappingAggregate;
namespace webapi.core
{
public interface IFlatManager
{
Task ImportFlat(string flatTitle, string pmsCondoName, string taloyhtioCondoUrl);
Task<Flat> AddFlat(string flatTitle, Guid taloyhtioPMCId, Guid? taloyhtioCondoId, string pmsCondoName, Guid? userId = null);
Task<CondoMapping> AddCondoMapping(string pmsCondoName, Guid taloyhtioPMCId, Guid taloyhtioCondoId);
}
}