Beispiel #1
0
 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();
 }
Beispiel #2
0
        public BizProgressController(HttpContextBase context, IBizProgressService progress, ICompanyHelper company)
        {
            _identity = context.User.Identity as ClaimsIdentity;

            _progress = progress;

            _company = company;
        }
Beispiel #3
0
 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;
 }
Beispiel #6
0
 public CompanyHelperTest()
 {
     this.helper = CompanyHelperFactory.Create();
 }