public MainWindowDxViewModel( IAddressDataService addressDataService, IMaterialDataService materialDataService) { long startTicks = Log.Debug("Enter", Common.LOG_APPNAME); _addressDataService = addressDataService; _materialDataService = materialDataService; Addresses = new ObservableCollection <Address>(); Materials = new ObservableCollection <Material>(); }
public RegisterModel( UserManager <Employee> userManager, SignInManager <Employee> signInManager, ILogger <RegisterModel> logger, IEmailSender emailSender, IAddressDataService addressDataService, ITownDataService townDataService) { _userManager = userManager; _signInManager = signInManager; _logger = logger; _emailSender = emailSender; this.addressDataService = addressDataService; this.townDataService = townDataService; }
public CurrentUserService(IIdentityManager identityManager, IAppUserManager userManager, IUnitOfWork unitOfWork, IFileManager fileManager, IDiscountDataService discountDataService, IWorkContext workContext, IShoppingCartItemDataService shoppingCartItemDataService, IDiscountValidator discountValidator, ICouponCodeDataService couponCodeDataService, IOrderDataService orderDataService, IAddressDataService addressDataService) { _identityManager = identityManager; _userManager = userManager; _unitOfWork = unitOfWork; _fileManager = fileManager; _discountDataService = discountDataService; _workContext = workContext; _shoppingCartItemDataService = shoppingCartItemDataService; _discountValidator = discountValidator; _couponCodeDataService = couponCodeDataService; _orderDataService = orderDataService; _addressDataService = addressDataService; _userAttributes = unitOfWork.Set <UserAttribute>(); _currUserId = new Lazy <Guid>(() => _userManager.GetCurrentUserId()); }
public ManagementController(ITownDataService townDataService, MDManagementDbContext data, IEmployeeService employeeService, IEmployeeDataService employeeDataService, ICompanyDataService comapnyService, UserManager <Employee> userManager, IJobTitleService jobTitleService, IJobTitleDataService jobTitleDataService, RoleManager <IdentityRole> roleManager, IDepatmentDataService depatmentDataService, IAddressDataService addressDataService) { this.employeeService = employeeService; this.employeeDataService = employeeDataService; this.comapnyService = comapnyService; this.userManager = userManager; this.jobTitleService = jobTitleService; }
public EmployeeService(IEmployeeDataService employeeDataService, IJobTitleService jobTitleService, IJobTitleDataService jobTitleDataService, IDepatmentDataService depatmentDataService, ITownDataService townDataService, IAddressDataService addressDataService, MDManagementDbContext data, RoleManager <IdentityRole> roleManager, UserManager <Employee> userManager) { this.employeeDataService = employeeDataService; this.jobTitleService = jobTitleService; this.jobTitleDataService = jobTitleDataService; this.depatmentDataService = depatmentDataService; this.townDataService = townDataService; this.addressDataService = addressDataService; this.data = data; this.roleManager = roleManager; this.userManager = userManager; }
public AddressBusinessService(IAddressDataService addressDataService) { _addressDataService = addressDataService; }
public PatientService(IPatientDataService patientDataService, IAddressDataService addressDataService) { _patientDataService = patientDataService; _addressDataService = addressDataService; }