public OrderService(IOrderDataAccess orderDataAccess, ISMSService smsService, IUserService userService, IProductService productService, IMessageService messageService, CloudFarmDbContext cloudFarmDb, GenericRepository <PreSaleOrder> preOrdeRepository) { this.orderDataAccess = orderDataAccess; this.smsService = smsService; this.userService = userService; this.productService = productService; this.messageService = messageService; this.cloudFarmDb = cloudFarmDb; this.preSaleOrdeRepository = preOrdeRepository; }
public UserService(IUserDataAccess userDataAccess, ISMSService smsService, CloudFarmDbContext dbContext) { this.userDataAccess = userDataAccess; this.smsService = smsService; this.cloudFarmDb = dbContext; }
public ProductService(IProductDataAccess productDataAccess, CloudFarmDbContext cloudFarmDb) { this.productDataAccess = productDataAccess; this.cloudFarmDb = cloudFarmDb; }