Пример #1
0
 public ProductController(NotificationContext notificationContext, IClientApplicationService clientService, IProductApplicationService productService, ITrackingApplicationService trackingService)
     : base(notificationContext)
 {
     _clientAppService   = clientService;
     _productAppService  = productService;
     _trackingAppService = trackingService;
 }
Пример #2
0
 public TrackingController(ITrackingApplicationService boxTrackingApplicationService, IBoxApplicationService boxApplicationService,
                           IProductApplicationService productApplicationService, IClientApplicationService clientApplicationService)
 {
     _boxApplicationService         = boxApplicationService;
     _productApplicationService     = productApplicationService;
     _boxTrackingApplicationService = boxTrackingApplicationService;
     _clientApplicationService      = clientApplicationService;
 }
Пример #3
0
 public BoxController(IBoxApplicationService boxApplicationService, IProductApplicationService productApplicationService,
                      IClientApplicationService clientService, ITrackingApplicationService trackingService)
 {
     _boxApplicationService     = boxApplicationService;
     _productApplicationService = productApplicationService;
     _trackingService           = trackingService;
     _clientService             = clientService;
 }
Пример #4
0
 public ShopController(IMovieApplicationService movieApplicationService,
                       IGameApplicationService gameApplicationService,
                       IClientApplicationService clientApplicationServic,
                       IRentalApplicationService rentalApplicationService)
 {
     _movieApplicationService  = movieApplicationService;
     _gameApplicationService   = gameApplicationService;
     _clientApplicationService = clientApplicationServic;
     _rentalApplicationService = rentalApplicationService;
 }
Пример #5
0
        private IDictionary <int, IClient> GetClientCache(IClientApplicationService clientApplicationService)
        {
            var result = clientApplicationService.GetAllAsync().Result;

            if (result.IsSuccessful)
            {
                return(result.Content.ToDictionary(x => x.Id, x => x));
            }

            throw new Exception(result.Message);
        }
Пример #6
0
        public void LoadViewDataClients(IClientApplicationService clientAppService)
        {
            var clients = clientAppService.GetAll()
                          .Select(client => new SelectListItem
            {
                Value = client.DT_RowId,
                Text  = client.Name
            }).ToList();

            ViewData["Clients"] = clients;
        }
Пример #7
0
 public SaleController(IClientApplicationService clientService, IRouteApplicationService routeService,
                       IDeliveryApplicationService deliveryService, IProductApplicationService productService,
                       ISaleApplicationService saleService, IPaymentApplicationService paymentService,
                       IBoxApplicationService boxService)
 {
     _clientService   = clientService;
     _routeService    = routeService;
     _deliveryService = deliveryService;
     _productService  = productService;
     _saleService     = saleService;
     _paymentService  = paymentService;
     _boxService      = boxService;
 }
Пример #8
0
 public ClientIntegrationService(
     ILogManager logManager,
     IClientApplicationService clientApplicationService,
     IAuditExportService exportService,
     IAuditImportService importService,
     IAuditReportService resportService)
 {
     _logManager = logManager;
     _clientApplicationService = clientApplicationService;
     _importService            = importService;
     _exportService            = exportService;
     _reportService            = resportService;
 }
Пример #9
0
 public DeliveryController(IClientApplicationService clientService, IRouteApplicationService routeService,
                           IDeliveryApplicationService deliveryService, IProductApplicationService productService,
                           ISaleApplicationService saleService, ISecurityApplicationService securityService,
                           IBoxApplicationService boxService, ITrackingApplicationService trackingApplicationService)
 {
     _boxService                 = boxService;
     _clientService              = clientService;
     _routeService               = routeService;
     _deliveryService            = deliveryService;
     _productService             = productService;
     _saleService                = saleService;
     _securityService            = securityService;
     _trackingApplicationService = trackingApplicationService;
 }
Пример #10
0
 public AuditEngine(
     IAuditApplicationService auditApplicationService,
     IClientApplicationService clientApplicationService,
     IAuditActionFactory auditStepFactory,
     IAuditWorkflowService workflowService,
     ILogManager logManager)
 {
     _auditApplicationService = auditApplicationService;
     _auditActionFactory      = auditStepFactory;
     _workflowService         = workflowService;
     _logManager  = logManager;
     _stepCache   = new Dictionary <string, IAuditWorkflowStep>();
     _clientCache = GetClientCache(clientApplicationService);
 }
Пример #11
0
 public RouteController(IClientApplicationService clientService, IRouteApplicationService routeService)
 {
     _clientApplicationService = clientService;
     _routeApplicationService  = routeService;
 }
Пример #12
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="logManager">A logger</param>
 /// <param name="applicationService">The application service containing the businesss logic and workflow.</param>
 public ClientController(ILogManager logManager, IClientApplicationService applicationService)
 {
     _applicationService = applicationService;
     _logManager         = logManager;
 }
Пример #13
0
 public ClientController(IClientApplicationService clientService, IAddressApplicationService addressApplicationService)
 {
     _clientApplicationService  = clientService;
     _addressApplicationService = addressApplicationService;
 }
Пример #14
0
 public ClientsController(IClientApplicationService service)
 {
     _service = service;
 }
 public HomeController(IClientApplicationService userService, IMapper mapper)
 {
     _userService = userService;
     _mapper      = mapper;
 }
 public ClientsController(IClientApplicationService service, IModelStateAccessor accessor) : base(accessor)
 {
     _service = service;
 }
 public ClientController(IClientApplicationService applicationService)
 {
     _applicationService = applicationService;
 }
 /// <summary>
 /// Client Controller Constructor
 /// </summary>
 /// <param name="clientApplicationService"></param>
 public ClientController(IClientApplicationService clientApplicationService)
 {
     _clientApplicationService = clientApplicationService;
 }
Пример #19
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="clientApplicationService"></param>
 /// <param name="mapper"></param>
 public ClientController(IClientApplicationService clientApplicationService, IMapper mapper)
 {
     _clientApplicationService = clientApplicationService;
     _mapper = mapper;
 }