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 BizSettingController(HttpContextBase context, IBizSetting bizSetting) { _identity = context.User.Identity as ClaimsIdentity; _bizSetting = bizSetting; }
public BizSettingApiController(IBizSetting setting) { _setting = setting; }