Exemplo n.º 1
0
 public ReportsController(IFacilityService facilityService, IArrivalService arrivalService, IInvoiceService invoiceService, IDispatchService dispatchService, ISerialService serialService, IReportEmailService reportToEmail)
 {
     _facilityService = facilityService;
     _arrivalService  = arrivalService;
     _invoiceService  = invoiceService;
     _dispatchService = dispatchService;
     _serialService   = serialService;
     _reportToEmail   = reportToEmail;
 }
        public HomeController(IDALService dalService, IArrivalService arrivalService, IUnitOfWork unitOfWork)
        {
            this.dalService     = dalService;
            this.arrivalService = arrivalService;
            this.unitOfWork     = unitOfWork;

            if (ConfigurationManager.AppSettings["PageSize"] != null)
            {
                _pageSize = Convert.ToInt32(ConfigurationManager.AppSettings["PageSize"]);
            }
        }
Exemplo n.º 3
0
 public ArrivalsRepository(DBContext context, IArrivalService arrivalsService, ISerialService serialService)
 {
     _context         = context;
     _arrivalsService = arrivalsService;
     _serialService   = serialService;
 }
Exemplo n.º 4
0
 public ArrivalController(IArrivalService arrivalService)
 {
     _arrivalService = arrivalService;
 }
Exemplo n.º 5
0
 public ArrivalQueryHandler(IArrivalService arrivalService)
 {
     _arrivalService = arrivalService;
 }
Exemplo n.º 6
0
 public SubmitArrivalCommandHandler(IFacilityService facilityService, IArrivalsRepository arrivalsRepository, ISerialsRepository serialsRepository, IArrivalService arrivalService)
 {
     _facilityService    = facilityService;
     _arrivalsRepository = arrivalsRepository;
     _arrivalService     = arrivalService;
 }
Exemplo n.º 7
0
 public HomeController(IArrivalService arrivalService, IUnitOfWork unitOfWork)
 {
     _arrivalService = arrivalService;
     _unitOfWork     = unitOfWork;
 }
Exemplo n.º 8
0
 public ArrivalController(IArrivalService arrivalService, IMapper mapper)
 {
     _arrivalService = arrivalService;
     _mapper         = mapper;
 }