public AuthServiceManager(EcommerceContext ecommerceContext, ICartServiceManager cartServiceManager, ICustomerServiceManager customerServiceManager, IOptions <AppSettings> appSettings) { _ecommerceContext = ecommerceContext; _cartServiceManager = cartServiceManager; _customerServiceManager = customerServiceManager; _appSettings = appSettings.Value; }
public CustomerViewModel(CustomerDto customerDto) { CustomerId = customerDto.CustomerId; _firstName = customerDto.FirstName; _lastName = customerDto.LastName; _originalValue = (CustomerViewModel)MemberwiseClone(); _orderServiceManager = ServiceProvider.Instance.Get<IOrderServiceManager>(); _customerServiceManager = ServiceProvider.Instance.Get<ICustomerServiceManager>(); }
public CustomerController(ICustomerServiceManager customerServiceManager, IMapper mapper) { _customerServiceManager = customerServiceManager; _mapper = mapper; }
public CustomerViewModel(IOrderServiceManager orderServiceManager, ICustomerServiceManager customerServiceManager) { _orderServiceManager = orderServiceManager; _customerServiceManager = customerServiceManager; }
public CustomerListViewModel(ICustomerServiceManager customerServiceManager) { _customerServiceManager = customerServiceManager; GetCustomers(); }