public Controller(List <ApiDto> tenants, MailDto mailDto) { Tenants = tenants ?? throw new ArgumentNullException(nameof(tenants)); MailDto = mailDto ?? throw new ArgumentNullException(nameof(mailDto)); _companyHelper = new CompanyHelper(); _userHelper = new UserHelper(); }
public BizProgressController(HttpContextBase context, IBizProgressService progress, ICompanyHelper company) { _identity = context.User.Identity as ClaimsIdentity; _progress = progress; _company = company; }
public ListingService(IDbContext db, ICampaignService campaignService, ICompanyHelper companyHelper, IIdentityHelper identityHelper ) : base(db) { this.campaignService = campaignService; this.companyHelper = companyHelper; this.identityHelper = identityHelper; }
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 CompanyManager(IMapper mapper, ICompanyHelper helper) : base(mapper) { this.helper = helper; }
public CompanyHelperTest() { this.helper = CompanyHelperFactory.Create(); }