Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public UserService(IUserDataAccess userDataAccess, ISMSService smsService, CloudFarmDbContext dbContext)
 {
     this.userDataAccess = userDataAccess;
     this.smsService     = smsService;
     this.cloudFarmDb    = dbContext;
 }
Esempio n. 3
0
 public ProductService(IProductDataAccess productDataAccess, CloudFarmDbContext cloudFarmDb)
 {
     this.productDataAccess = productDataAccess;
     this.cloudFarmDb       = cloudFarmDb;
 }