public OrdersController(IUserService userService, IOrdersTrackingService ordersTrackingService, IOrderService ordersService, IClothesTrackingService clothesTrackingService) { this.OrdersService = ordersService; this.UserService = userService; this.OrdersTrackingService = ordersTrackingService; this.ClothesTrackingService = clothesTrackingService; }
public OrderService(IBaseRepository <Order> repository, IOrdersTrackingService OrdersTrackingService, IClothesTrackingService clotheTrackingService, IOrderClotheService orderClotheService) : base(repository) { this.OrderClotheService = orderClotheService; this.OrdersTrackingService = OrdersTrackingService; this.ClotheTrackingService = clotheTrackingService; }