Пример #1
0
 public ApiImgController(Cloudinary cloudinary, UserManager <ApplicationUser> userManager, IImgService imgService, IAdService adService)
 {
     this.cloudinary  = cloudinary;
     this.userManager = userManager;
     this.imgService  = imgService;
     this.adService   = adService;
 }
Пример #2
0
 public AccountController(IUnitOfWork dbUnit, IJwtService jwtService, IEmailService emailService, IImgService imgService)
 {
     this.dbUnit       = dbUnit;
     this.jwtService   = jwtService;
     this.emailService = emailService;
     this.imgService   = imgService;
 }
 public EmployeesController(IGenericRepository <Employee> genericRepository,
                            IBaseUrl baseUrl,
                            IImgService imgService)
 {
     _genericRepository = genericRepository;
     _baseUrl           = baseUrl;
     _imgService        = imgService;
 }
 public UsersController(IUserRepository userRepository,
                        IBaseUrl baseUrl,
                        IImgService imgService)
 {
     _userRepository = userRepository;
     _baseUrl        = baseUrl;
     _imgService     = imgService;
 }
 public ProvidersController(IGenericRepository <Provider> genericRepository,
                            IBaseUrl baseUrl,
                            IImgService imgService)
 {
     _genericRepository = genericRepository;
     _baseUrl           = baseUrl;
     _imgService        = imgService;
 }
Пример #6
0
 public ProductsService(
     IDeletableEntityRepository <Product> productsRepository,
     IImgService imgService,
     IDeletableEntityRepository <ProductQuantity> productsQuantityRepository)
 {
     this.productsRepository         = productsRepository;
     this.imgService                 = imgService;
     this.productsQuantityRepository = productsQuantityRepository;
 }
Пример #7
0
 public CategoryService(
     IDeletableEntityRepository <Category> categoryRepository,
     IDeletableEntityRepository <SubCategory> subCategoryRepository,
     IImgService imgService)
 {
     this.categoryRepository    = categoryRepository;
     this.subCategoryRepository = subCategoryRepository;
     this.imgService            = imgService;
 }
 public CustomersController(IBaseUrl baseUrl,
                            IGenericRepository <Customer> genericRepository,
                            IImgService imgService,
                            IMapper mapper
                            )
 {
     _baseUrl           = baseUrl;
     _genericRepository = genericRepository;
     _imgService        = imgService;
     _mapper            = mapper;
 }
 public AuthorsController(IImgService imgService,
                          IAuthorService authorService,
                          IBookService bookService,
                          IHostingEnvironment environment,
                          IModelKendoService modelKendoService)
 {
     this.imgService        = imgService;
     this.authorService     = authorService;
     this.bookService       = bookService;
     this.environment       = environment;
     this.modelKendoService = modelKendoService;
 }
Пример #10
0
 public MyAccountController(
     IMyAccountService myAccountService,
     UserManager <ApplicationUser> userManager,
     IAdService adService,
     IImgService imgService,
     SignInManager <ApplicationUser> signInManager)
 {
     this.myAccountService = myAccountService;
     this.userManager      = userManager;
     this.adService        = adService;
     this.imgService       = imgService;
     this.signInManager    = signInManager;
 }
 public ToolsController(ApplicationDbContext db,
                        IGenericRepository <Tool> genericRepository,
                        IGenericRepository <Customer> customerRepository,
                        IAccountRepository accountRepository,
                        IImgService imgService,
                        IBaseUrl baseUrl)
 {
     _db = db;
     _genericRepository  = genericRepository;
     _customerRepository = customerRepository;
     _accountRepository  = accountRepository;
     _imgService         = imgService;
     _baseUrl            = baseUrl;
 }
Пример #12
0
        public MainWindowVM(IImgService imgService, IImageFileSelector imageFileSelector, IDirectorySelector directorySelector, IAlertPresenter alertPresenter)
        {
            Contract.Requires(imgService != null);
            Contract.Requires(imageFileSelector != null);
            Contract.Requires(directorySelector != null);
            Contract.Requires(alertPresenter != null);

            this.imgService        = imgService;
            this.imageFileSelector = imageFileSelector;
            this.directorySelector = directorySelector;
            this.alertPresenter    = alertPresenter;

            Images = new ObservableCollection <ImageVM>();
            ReloadImages();
        }
Пример #13
0
 public AdministrationController(
     IProductsService productsService,
     IImgService imgService,
     ICategoryService categoryService,
     IBagService bagService,
     IOrderDataService orderDataService,
     IDiscountsService discountsService)
 {
     this.productsService  = productsService;
     this.imgService       = imgService;
     this.categoryService  = categoryService;
     this.bagService       = bagService;
     this.orderDataService = orderDataService;
     this.discountsService = discountsService;
 }
Пример #14
0
        public StartController()
        {
            _memberService          = new MemberService();
            _slideService           = new SlideService();
            _exchangeService        = new ExchangeService();
            _imgService             = new ImgService();
            _cooperationService     = new CooperationService();
            _lotteryService         = new LotteryService();
            _exchangeExamineService = new ExchangeExamineService();

            UserManager = new UserManager <ApplicationUser>(new UserStore <ApplicationUser>(new ApplicationDbContext()));
            UserManager.UserValidator = new UserValidator <ApplicationUser>(UserManager)
            {
                AllowOnlyAlphanumericUserNames = false
            };
        }
Пример #15
0
 public OperationReportsController(IAccountRepository accountRepository,
                                   IGenericRepository <WeeklyReport> genericRepository,
                                   ApplicationDbContext db,
                                   IWebHostEnvironment env,
                                   IImgService imgService,
                                   IWeekyReportPanel weekyReportPanel,
                                   IBaseUrl baseUrl)
 {
     _accountRepository = accountRepository;
     _genericRepository = genericRepository;
     _db               = db;
     _imgService       = imgService;
     _weekyReportPanel = weekyReportPanel;
     _baseUrl          = baseUrl;
     _env              = env;
 }
Пример #16
0
 public CooperationController()
 {
     _cooperationService = new CooperationService();
     _memberService      = new MemberService();
     _imgService         = new ImgService();
 }
Пример #17
0
 public ImgController()
 {
     _imgService = new ImgService();
 }
Пример #18
0
 public ImgController(IImgService imgService, ICosFileStatService cosFileStatService)
 {
     _imgService         = imgService;
     _cosFileStatService = cosFileStatService;
 }
 public CursoAdminServiceBase(CapaDatos.UnidadDeTrabajo.UnidadDeTrabajo _unidadTrabajo,IImgService _img)
 {
     this._unidadTrabajo = _unidadTrabajo;
     this._img = _img;
 }
Пример #20
0
 public AlbumsController(IAlbumsService service, IImgService imgService)
 {
     this.service    = service;
     this.imgService = imgService;
 }
Пример #21
0
 public ImgController(Cloudinary cloudinary, IImgService imgService, IProductsService productsService)
 {
     this.cloudinary      = cloudinary;
     this.imgService      = imgService;
     this.productsService = productsService;
 }
 public CursoAdminServiceBase(CapaDatos.UnidadDeTrabajo.UnidadDeTrabajo _unidadTrabajo, IImgService _img)
 {
     this._unidadTrabajo = _unidadTrabajo;
     this._img           = _img;
 }
Пример #23
0
 public ImgController(IWebHostEnvironment env, IImgService service)
 {
     this.env     = env;
     this.service = service;
 }