public CompaniesController(ICompanyService companyService, ICompanyTypeService companyTypeService, ICityService cityService, ICountryService countryService, IRegionService regionService, ISectorService sectorService) { this.companyService = companyService; this.companyTypeService = companyTypeService; this.cityService = cityService; this.countryService = countryService; this.regionService = regionService; this.sectorService = sectorService; }
public DocumentPermissionManageModel() { _companyService = HostContainer.GetInstance <ICompanyService>(); _companyTypeService = HostContainer.GetInstance <ICompanyTypeService>(); _userGroupService = HostContainer.GetInstance <IUserGroupService>(); _documentService = HostContainer.GetInstance <IDocumentService>(); Groups = _userGroupService.GetUserGroups(); Companies = _companyService.GetCompanies(); CompanyTypes = _companyTypeService.GetCompanyTypes(); }
public AssociateManageModel() { _associateTypeService = HostContainer.GetInstance <IAssociateTypeService>(); _companyTypeService = HostContainer.GetInstance <ICompanyTypeService>(); _locationService = HostContainer.GetInstance <ILocationService>(); var countryService = HostContainer.GetInstance <ICountryService>(); AssociateTypeIds = new List <int>(); AssociateTypes = _associateTypeService.GetAssociateTypes(); LocationIds = new List <int>(); Locations = _locationService.GetLocations(); CompanyTypeIds = new List <int>(); CompanyTypes = _companyTypeService.GetCompanyTypes(); Countries = countryService.GetCountries(); States = EnumUtilities.GenerateSelectListItems <CommonEnums.AustraliaState>(GenerateEnumType.DescriptionValueAndDescriptionText); Genders = EnumUtilities.GenerateSelectListItems <UserEnums.Gender>(GenerateEnumType.DescriptionValueAndDescriptionText); }
//public AccountController() // : this(new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(new ObjectContext()))) //{ //} public AccountController(ICountryService countryService, UserManager<ApplicationUser> userManager, RoleManager<IdentityRole> roleManager, ICarSellerTypeService carSellerTypeService, IAspNetUsersAdditionalInfoService aspNetUsersAdditionalInfoService, ISellerPersonalInfoService sellerPersonalInfoService, ICompanyTypeService companyTypeService, ISellerCompanyInfoService sellerCompanyInfoService, ISellerCompanyLogoService sellerCompanyLogoService ) { UserManager = userManager; RoleManager = roleManager; _countryService = countryService; _carSellerTypeService = carSellerTypeService; _aspNetUsersAdditionalInfoService = aspNetUsersAdditionalInfoService; _sellerPersonalInfoService = sellerPersonalInfoService; _companyTypeService = companyTypeService; _sellerCompanyInfoService = sellerCompanyInfoService; _sellerCompanyLogoService = sellerCompanyLogoService; }
public DelteCompanyTypeCommandHandler(ICompanyTypeService companyTypeService, ICompanyTypeMapper companyTypeMapper, ILogger <IRequest> logger) { _companyTypeService = companyTypeService; _companyTypeMapper = companyTypeMapper; _logger = logger; }
public CompanyTypeController(ICompanyTypeService companyTypeService) { _companyTypeService = companyTypeService; }
/// <summary> /// Constructor CompanyTypeController /// </summary> /// <param name="itemService"></param> /// <param name="mediator"></param> public CompanyTypeController(ICompanyTypeService itemService, IMediator mediator) { _itemService = itemService; _mediator = mediator; }
/// <summary> /// GetCompanyTypeQueryHandler /// </summary> /// <param name="logger"></param> /// <param name="companyTypeService"></param> public GetCompanyTypeQueryHandler(ILogger <IRequest> logger, ICompanyTypeService companyTypeService) { _logger = logger; _companyTypeService = companyTypeService; }
public ContactSearchDetailsModel() { _contactGroupService = HostContainer.GetInstance <IContactGroupService>(); _companyTypeService = HostContainer.GetInstance <ICompanyTypeService>(); CompanyTypes = new List <string>(); }
public CompanyTypesController(ICompanyTypeService companyTypeService) { this.companyTypeService = companyTypeService; }