public CategoriesController(ICategoryServices entityServices, IRepository <Category> entityRepository, IRepository <CategoryFollowers> categoryFollowers, IUserCServices userCServices)
 {
     _entityServices    = entityServices;
     _entityRepository  = entityRepository;
     _categoryFollowers = categoryFollowers;
     _userCServices     = userCServices;
 }
示例#2
0
 public OrderServices(IRepository <Order> entityRepository, IUserCServices userCServices, INotificationServices notificationSrevices, IRepository <Store> storeRepository)
 {
     _entityRepository     = entityRepository;
     _userCServices        = userCServices;
     _notificationSrevices = notificationSrevices;
     _storeRepository      = storeRepository;
 }
示例#3
0
 public StoresController(IRepository <Store> entityRepository, IStoreServices entityServices, IRepository <StoreFollowers> storeFollowersRepository, IRepository <StoreUsers> storeUsersRepository, IUserCServices userCServices)
 {
     _entityRepository         = entityRepository;
     _entityServices           = entityServices;
     _storeFollowersRepository = storeFollowersRepository;
     _storeUsersRepository     = storeUsersRepository;
     _userCServices            = userCServices;
 }
 public StoreServices(IRepository <Store> entityRepository, IFileStorageService fileService, ApplicationDbContext context, IUserCServices userCServices, IRepository <StoreUsers> storeUserRepository, IProductServices productServices)
 {
     _entityRepository    = entityRepository;
     _fileService         = fileService;
     _context             = context;
     _userCServices       = userCServices;
     _storeUserRepository = storeUserRepository;
     _productServices     = productServices;
 }
示例#5
0
 public CategoryServices(IRepository <Category> entityRepository, IFileStorageService fileService, IRepository <Product> productRepository, ApplicationDbContext context, IRepository <CategoryFollowers> categoryFollowersRepository, IUserCServices userCServices)
 {
     _entityRepository            = entityRepository;
     _fileService                 = fileService;
     _productRepository           = productRepository;
     _context                     = context;
     _categoryFollowersRepository = categoryFollowersRepository;
     _userCServices               = userCServices;
 }
 public AccountsController(
     UserManager <IdentityUser> userManager,
     SignInManager <IdentityUser> signInManager,
     IConfiguration configuration, IUserServices userServices, IRepository <UserC> userRepository, IRepository <UserA_B> userA_BRepository, IUserCServices userCServices)
 {
     _userManager       = userManager;
     _signInManager     = signInManager;
     _configuration     = configuration;
     _userServices      = userServices;
     _userCRepository   = userRepository;
     _userA_BRepository = userA_BRepository;
     _userCServices     = userCServices;
 }
 public NotificationServices(IRepository <Notification> entityRepository, IUserCServices userCServices)
 {
     _entityRepository = entityRepository;
     _userCServices    = userCServices;
 }
 public Orders2Controller(IOrderSrevices entityServices, IRepository <Order> entityRepository, IUserCServices userCServices)
 {
     _entityServices   = entityServices;
     _entityRepository = entityRepository;
     _userCServices    = userCServices;
 }
 public NotificationsController(INotificationServices entityServices, IRepository <Notification> entityRepository, IUserCServices userCServices)
 {
     _entityServices   = entityServices;
     _entityRepository = entityRepository;
     _userCServices    = userCServices;
 }
 public MessageServices(IRepository <Message> entityRepository, IUserCServices userCServices, IRepository <Order> orderRepository)
 {
     _entityRepository = entityRepository;
     _userCServices    = userCServices;
     _orderRepository  = orderRepository;
 }
 public StoreUserServices(IRepository <StoreUsers> entityRepository, IUserCServices userCServices, IRepository <UserC> userCRepository)
 {
     _entityRepository = entityRepository;
     _userCServices    = userCServices;
     _userCRepository  = userCRepository;
 }
 public RoleServices(IRepository <StoreUsers> entityRepository, IUserCServices userCServices)
 {
     _entityRepository = entityRepository;
     _userCServices    = userCServices;
 }
示例#13
0
 public FavouritesController(IFavouritesServices favouritesServices, IUserCServices userCServices)
 {
     _favouritesServices = favouritesServices;
     _userCServices      = userCServices;
 }
 public UserCController(IUserCServices entityServices, IRepository <UserC> entityRepository)
 {
     _entityServices   = entityServices;
     _entityRepository = entityRepository;
 }