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>(); }
public GroupsController(ApplicationDbContext context, SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, ILogger <GroupsController> logger, IQueueService eventQueueService, IAzureBlobManager azureBlobManager, IWebHostEnvironment environment, TelemetryClient telemetry) { _context = context; _signInManager = signInManager; _userManager = userManager; _logger = logger; _eventQueueService = eventQueueService; _azureBlobManager = azureBlobManager; _hostingEnvirontment = environment; _telemetryClient = telemetry; }
public PropertySaleForAgentAppServiceTests() { this.subRepositoryPropertySaleSelectedAgent = Resolve <IRepository <Core.Models.PropertySaleSelectedAgent> >(); this.subRepositoryPropertySaleInfo = Resolve <IRepository <PropertySaleInfo> >(); this.subNotificationManager = Resolve <INotificationManager>(); this.subRepositoryPropertyImage = Resolve <IRepository <Core.Models.PropertyImage> >(); this.subRepositoryPropertyMeta = Resolve <IRepository <PropertyMeta> >(); this.subRepositoryProperty = Resolve <IRepository <Core.Models.Property> >(); this.subRepositoryUserLong = Resolve <IRepository <User, long> >(); this.subRepositoryPropertyAppointment = Resolve <IRepository <Core.Models.PropertyAppointment> >(); this.subRepositoryPropertySellerAvailableSlot = Resolve <IRepository <Core.Models.PropertySellerAvailableSlot> >(); this.subHttpContextAccessor = Resolve <IHttpContextAccessor>(); this.subConfiguration = Resolve <IConfiguration>(); this.subLogger = Resolve <ILogger <PropertySaleForAgentAppService> >(); this.subMetaEnumAppService = Resolve <MetaEnumAppService>(); this.subAzureBlobManager = Resolve <IAzureBlobManager>(); this.subRepositoryAgentPreferredSubDistrict = Resolve <IRepository <AgentPreferredSubDistrict> >(); this.subMetaEnumManager = Resolve <IMetaEnumManager>(); }