/// <summary> /// Initializes a new instance of the <see cref="VendorFilterBll" /> class. /// </summary> /// <param name="unitOfWork">The utilities unit of work.</param> /// <param name="token">The ClaimsIdentity in token management.</param> public VendorFilterBll(IUnitOfWork unitOfWork, ILoggerManager logger, IManageToken token, IVendorTransectionBll vendorTransection, IEmailTaskBll emailTask, IEmailService emailService) { _unitOfWork = unitOfWork; _token = token; _vendorTransection = vendorTransection; _emailTask = emailTask; _emailService = emailService; _logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="VendorTransectionController" /> class. /// </summary> /// <param name="vendorTransection"></param> public VendorTransectionController(IVendorTransectionBll vendorTransection) { _vendorTransection = vendorTransection; }
/// <summary> /// Initializes a new instance of the <see cref="VendorTransectionBllTest" /> class. /// </summary> /// <param name="io">The IoCConfig class provide installing all components needed to use.</param> public VendorTransectionBllTest(IoCConfig io) { _vendorTransection = io.ServiceProvider.GetRequiredService <IVendorTransectionBll>(); }