public ItemApplication(IExternalService externalService, ILoggerService logger) { _externalService = externalService; _logger = logger; _domain = new ItemDomain(externalService, logger); Mapper.Initialize(cfg => cfg.AddProfile <ServiceProfile>()); }
public ItemsQueryHandler(IFitemDomain fitemDomain, IItemDomain itemDomain) { this._itemDomain = itemDomain; this._fitemDomain = fitemDomain; }
public ItemsPagedResultHandler(IFitemDomain fitemDomain, IItemDomain itemDomain) { this._itemDomain = itemDomain; this._fitemDomain = fitemDomain; }
public GlAccvouchsInsertHandler(IGlAccvouchDomain glAccvouchDomain, IPersonDomain personDomain, IDepartmentDomain departmentDomain, ICustomerDomain customerDomain, IVendorDomain vendorDomain, IItemDomain itemDomain, ICodeDomain codeDomain, IFitemDomain fitemDomain, ILogger <GlAccvouchsInsertHandler> logger) { this._glAccvouchDomain = glAccvouchDomain; this._personDomain = personDomain; this._departmentDomain = departmentDomain; this._customerDomain = customerDomain; this._vendorDomain = vendorDomain; this._itemDomain = itemDomain; this._codeDomain = codeDomain; this._fitemDomain = fitemDomain; this._logger = logger; }