public DeliveryInfosController(IDeliveryInfoService deliveryInfosService, IOrderService orderService,
                                IMapper mapper, IDeliveryManService deliveryManService, ICurrentLocationService currentLocationService)
 {
     this.deliveryInfosService = deliveryInfosService;
     this.orderService         = orderService;
     _mapper = mapper;
     this.deliveryManService     = deliveryManService;
     this.currentLocationService = currentLocationService;
 }
Beispiel #2
0
 public DeliveryManController(IDeliveryManService deliveryManService, ILocationService locationService,
                              IDeliveryInfoService deliveryInfoService, ICurrentLocationService currentLocationService,
                              UserManager <IdentityUser> userManager, IRatingService ratingService,
                              IAdminService adminService)
 {
     this.deliveryManService     = deliveryManService;
     this.locationService        = locationService;
     this.deliveryInfoService    = deliveryInfoService;
     this.currentLocationService = currentLocationService;
     _userManager       = userManager;
     this.ratingService = ratingService;
     this.adminService  = adminService;
 }
Beispiel #3
0
 public OrderController(IOrderService orderService,
                        IDeliveryManService deliveryManService,
                        IProductOrderService productOrderService,
                        IProductImageService productImageService, IDeliveryInfoService deliveryInfoService,
                        IClientService clientService, IEmailSenderService emailSenderService, IProductService productService,
                        ICurrentLocationService currentLocationService, IAdminService adminService,
                        IRazorViewToStringRenderer razorViewToStringRenderer)
 {
     this.orderService           = orderService;
     this.deliveryManService     = deliveryManService;
     this.productOrderService    = productOrderService;
     this.productImageService    = productImageService;
     this.deliveryInfoService    = deliveryInfoService;
     this.clientService          = clientService;
     this.emailSenderService     = emailSenderService;
     this.productService         = productService;
     this.currentLocationService = currentLocationService;
     this.adminService           = adminService;
     _razorViewToStringRenderer  = razorViewToStringRenderer;
 }