/// <summary> /// ctor /// </summary> /// <param name="deliveryMessage">Instance of the users message</param> /// <param name="postOperatorService">Object of the PostOperators service</param> /// <param name="mapper">Object map</param> public PostOperatorController(IDeliveryMessage deliveryMessage, IPostOperatorService postOperatorService, IMapper mapper) { this.deliveryMessage = deliveryMessage; this.postOperatorService = postOperatorService; this.mapper = mapper; }
/// <summary> /// ctor /// </summary> /// <param name="deliveryMessage">Instance of the users message</param> /// <param name="postOperatorsService">Object of the PostOperators service</param> /// <param name="invoicesService">>Object of the Invoices service</param> /// <param name="mapper">Object map</param> public MainController(IDeliveryMessage deliveryMessage, IPostOperatorService postOperatorsService, IInvoicesService invoicesService, IMapper mapper) { this.deliveryMessage = deliveryMessage; this.postOperatorsService = postOperatorsService; this.invoicesService = invoicesService; this.mapper = mapper; }
/// <summary> /// ctor /// </summary> /// <param name="deliveryMessage">Instance of the users message</param> /// <param name="adminService">Object of the aadmin service</param> /// <param name="invoicesService">Object of the Invoices service</param> /// <param name="mapper">Object map</param> public AdminController(IDeliveryMessage deliveryMessage, IAdminService adminService, IInvoicesService invoicesService, IMapper mapper) { this.deliveryMessage = deliveryMessage; this.adminService = adminService; this.invoicesService = invoicesService; this.mapper = mapper; }
public Service( string connectionString, string exchange, string routingKey, ILogger <Service> logger, IDeliveryMessage delivery) { if (logger == null) { throw new ArgumentNullException(nameof(logger)); } if (delivery == null) { throw new ArgumentNullException(nameof(delivery)); } _logger = logger; _connectionString = connectionString; _exchange = exchange; _routingKey = routingKey; _delivery = delivery; }