public BizProgressService(BizProgressContext progContext, HttpContextBase context, IBizCustomer customer, IBizSetting setting) { _context = progContext; _identity = context.User.Identity as ClaimsIdentity; _customer = customer; _setting = setting; _isAdmin = _identity.HasClaim("role", "progress-admin"); }
public ModelValidation(ILog log, ICompanyHelper company, IVoucherHelper voucher, IAccountBookHelper accountBook, IBizSetting setting, IBizCustomer customer) { _log = log; _company = company; _voucher = voucher; _accountBook = accountBook; _setting = setting; _customer = customer; }
public BizCustomerApiController(IBizCustomer customer, IModelValidation modelValid) { _customer = customer; _modelValid = modelValid; }
public CustomerController(HttpContextBase context, IBizCustomer customer) { _identity = context.User.Identity as ClaimsIdentity; _customer = customer; }