Example #1
0
 public PropertyAppServiceTests()
 {
     this.subRepositoryProperty                   = Resolve <IRepository <Core.Models.Property> >();
     this.subRepositoryPropertyLeaseInfo          = Resolve <IRepository <PropertyLeaseInfo> >();
     this.subRepositoryPropertySaleInfo           = Resolve <IRepository <PropertySaleInfo> >();
     this.subRepositoryPropertySaleSelectedAgent  = Resolve <IRepository <PropertySaleSelectedAgent> >();
     this.subRepositoryPropertyLeaseSelectedAgent = Resolve <IRepository <PropertyLeaseSelectedAgent> >();
     this.subRepositoryPropertyImage              = Resolve <IRepository <Core.Models.PropertyImage> >();
     this.subRepositoryPropertyMeta               = Resolve <IRepository <PropertyMeta> >();
     this.subRepositoryUserLong                   = Resolve <IRepository <User, long> >();
     this.subRepositoryPropertyAppointment        = Resolve <IRepository <Core.Models.PropertyAppointment> >();
     this.subNotificationManager                  = Resolve <INotificationManager>();
     this.subHostingEnvironment                   = Resolve <IHostingEnvironment>();
     this.subHttpContextAccessor                  = Resolve <IHttpContextAccessor>();
     this.subLogger                     = Resolve <ILogger <PropertyAppService> >();
     this.subUnitOfWorkManager          = Resolve <IUnitOfWorkManager>();
     this.subRepositoryPropertyFollowUp = Resolve <IRepository <Core.Models.PropertyFollowUp> >();
     this.subConfiguration              = Resolve <IConfiguration>();
     this.subAzureBlobManager           = Resolve <IAzureBlobManager>();
     this.subPropertyImageAppService    = Resolve <IPropertyImageAppService>();
     this.subRepositoryAgentFlatSimpleConsolidateViewLong = Resolve <IRepository <Core.Models.View.AgentFlatSimpleConsolidateView, long> >();
     this.subPropertyManager                       = Resolve <IPropertyManager>();
     this.subAgentManager                          = Resolve <IAgentManager>();
     this.subPropertyImageManager                  = Resolve <IPropertyImageManager>();
     this.subRepositoryAgentProfileLong            = Resolve <IRepository <AgentProfile, long> >();
     this.subRepositoryPropertyConsolidateListView = Resolve <IRepository <Core.Models.View.PropertyConsolidateListView> >();
     this.subRepositoryPropertySelectedAgent       = Resolve <IRepository <Core.Models.PropertySelectedAgent> >();
     this.subRepositorySurvey                      = Resolve <IRepository <Core.Models.Survey> >();
     this.subRepositoryPropertySellerAvailableSlot = Resolve <IRepository <Core.Models.PropertySellerAvailableSlot> >();
     this.subHubContext     = Resolve <IHubContext <PropertyHub> >();
     this.subUserManager    = Resolve <UserManager>();
     this.subReportManager  = Resolve <IReportManager>();
     this.subSurveyManager  = Resolve <ISurveyManager>();
     this.subSettingManager = Resolve <ISettingManager>();
 }
Example #2
0
 public LandlordService(IAddressRepository addressRepository, IUserRepository accountRepository, IUserManager userManager, IPropertyManager propertyManager, IPropertySignRequestManager propertySignRequestManager, IPropertyImageManager propertyImageManager)
 {
     _addressRepository = addressRepository;
     _accountRepository = accountRepository;
     _userManager = userManager;
     _propertyManager = propertyManager;
     _propertySignRequestManager = propertySignRequestManager;
     _propertyImageManager = propertyImageManager;
 }