public LoginController(IUserDataStore userData, IUserConnectedDataStore userConnectedData) { userDataStore = userData; userConnectedDataStore = userConnectedData; //UsersConnected = usersConnected; //ComunicationService = comunication; //ComunicationService = new ComunicationService(); LogUser.ComunicationService = new ComunicationService(); }
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; }