Ejemplo n.º 1
0
 public AccountController(IClientService clientService, UserManager <IdentityUser> userManager,
                          IDeliveryManService deliveryManService)
 {
     this.clientService      = clientService;
     _userManager            = userManager;
     this.deliveryManService = deliveryManService;
 }
Ejemplo n.º 2
0
 public DeliveryManController(IUnitOfWork unitOfWork, IConfiguration config, IMapper mapper, IDeliveryManService deliveryManService)
 {
     _unitOfWork         = unitOfWork;
     _config             = config;
     _mapper             = mapper;
     _deliveryManService = deliveryManService;
 }
 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;
 }
Ejemplo n.º 4
0
 public AdminController(IMemberService MemberService, ICouponService CouponService, IOrderService OrderService, IInvoiceService InvoiceService, IDeliveryManService DeliveryManService, IProductService ProductService, IAddressService AddressService, IReportService ReportService)
 {
     _InvoiceService     = InvoiceService;
     _MemberService      = MemberService;
     _DeliveryManService = DeliveryManService;
     _ProductService     = ProductService;
     _OrderService       = OrderService;
     _CouponService      = CouponService;
     _AddressService     = AddressService;
     _ReportService      = ReportService;
 }
Ejemplo n.º 5
0
 public HomeController(ILogger <HomeController> logger, IOrderService orderService, IClientService clientService,
                       IDeliveryManService deliveryManService, IRatingService ratingService,
                       IDeliveryInfoService deliveryInfoService, IAdminService adminService)
 {
     _logger                  = logger;
     this.orderService        = orderService;
     this.clientService       = clientService;
     this.deliveryManService  = deliveryManService;
     this.ratingService       = ratingService;
     this.deliveryInfoService = deliveryInfoService;
     this.adminService        = adminService;
 }
Ejemplo n.º 6
0
 public DeliveryMenController(IDeliveryManService deliveryMenService, IRatingService ratingService,
                              IClientService clientService, ILocationService locationService, UserManager <IdentityUser> userManager,
                              IOptions <ApplicationSettings> appSettings, IEmailSenderService emailSenderService)
 {
     this.deliveryMenService = deliveryMenService;
     this.ratingService      = ratingService;
     this.clientService      = clientService;
     this.locationService    = locationService;
     _userManager            = userManager;
     _appSettings            = appSettings.Value;
     this.emailSenderService = emailSenderService;
 }
Ejemplo n.º 7
0
 public AdminController(ApplicationDbContext context, IAdminService adminService,
                        IDeliveryManService deliveryManService, IClientService clientService, IOrderService orderService,
                        ILocationService locationService, UserManager <IdentityUser> userManager)
 {
     _context                = context;
     this.adminService       = adminService;
     this.deliveryManService = deliveryManService;
     this.clientService      = clientService;
     this.orderService       = orderService;
     this.locationService    = locationService;
     _userManager            = userManager;
 }
Ejemplo n.º 8
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;
 }
Ejemplo n.º 9
0
 public OrderController(IClientService clientService, IOrderService orderService,
                        IProductOrderService productOrderService, IProductService productService,
                        ICartProductService cartProductService, IDeliveryInfoService deliveryInfoService,
                        IDeliveryManService deliveryManService, IRatingService ratingService, IMapper mapper,
                        IAdminService adminService, IEmailSenderService emailSenderService)
 {
     this.clientService       = clientService;
     this.orderService        = orderService;
     this.productOrderService = productOrderService;
     this.productService      = productService;
     this.cartProductService  = cartProductService;
     this.deliveryInfoService = deliveryInfoService;
     this.deliveryManService  = deliveryManService;
     this.ratingService       = ratingService;
     _mapper                 = mapper;
     this.adminService       = adminService;
     this.emailSenderService = emailSenderService;
 }
Ejemplo n.º 10
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;
 }