Esempio n. 1
0
 public EmployeeController(IEmployeeDataStore employeeData, IUserDataStore userData, IStoreDataStore storeData, IEmployeeWorkHourDataStore employeeWorkHourData)
 {
     employeeDataStore         = employeeData;
     userDataStore             = userData;
     storeDataStore            = storeData;
     employeeWorkHourDataStore = employeeWorkHourData;
 }
        public StoreController(IStoreDataStore storeData, IUserDataStore userData, IProductDataStore productData, IStoreLicenseDataStore storeLicenseData, IOrderDataStore orderData, IEmployeeDataStore employeeData, IRequestDataStore requestData, IUserConnectedDataStore userConnectedDataStore, ICardDataStore cardDataStore, IStripeServiceDS stripeServiceDS, ISubcriptionDataStore subcriptionDataStore)
        {
            userDataStore               = userData;
            StoreDataStore              = storeData;
            productDataStore            = productData;
            storeLicenseDataStore       = storeLicenseData;
            orderDataStore              = orderData;
            employeeDataStore           = employeeData;
            RequestDataStore            = requestData;
            this.userConnectedDataStore = userConnectedDataStore;

            this.cardDataStore        = cardDataStore;
            this.stripeServiceDS      = stripeServiceDS;
            this.subcriptionDataStore = subcriptionDataStore;

            //UsersConnected = usersConnected;
        }
Esempio n. 3
0
 public EmployeeService(IEmployeeDataStore dataStore)
 {
     _dataStore = dataStore;
 }