Example #1
0
 public NewsController(INewsRepo repo, IMapper mapper, IUploader uploader)
 {
     _repo     = repo;
     _mapper   = mapper;
     _uploader = uploader;
 }
Example #2
0
 public HomeController(INewsRepo newsRepo)
 {
     _newsRepo = newsRepo;
 }
 public NewsController(IConfiguration configuration, INewsRepo repository, IMapper mapper)
 {
     _configuration = configuration;
     _repository    = repository;
     _mapper        = mapper;
 }
Example #4
0
 public HomeController(ILogger <HomeController> logger, INewsRepo n, UserManager <AppUser> uManager)
 {
     nRepo       = n;
     _logger     = logger;
     userManager = uManager;
 }
 public NewsViewComponent(INewsRepo newsRepo)
 {
     this.newsRepo = newsRepo;
 }
Example #6
0
 public HomeController(INewsRepo newsRepo, IUserRepo userRepo)
 {
     _newsRepo = newsRepo;
     _userRepo = userRepo;
 }
Example #7
0
 public EducationRepo_SQL(SchoolDBContext context, INewsRepo newsRepo)
 {
     this.context  = context;
     this.newsRepo = newsRepo;
 }
Example #8
0
 public NewsService(INewsRepo newsRepo)
 {
     _newsRepo = newsRepo;
 }
Example #9
0
 public NewsController(ApplicationDbContext context, INewsRepo NewRepo)
 {
     _context  = context;
     _NewsRepo = NewRepo;
 }
 public NewsController(INewsRepo NewRepo)
 {
     _NewsRepo = NewRepo;
 }
Example #11
0
 public NewsController(ILogger <NewsController> logger,
                       INewsRepo newsRepos)
 {
     _logger    = logger;
     _newsRepos = newsRepos;
 }
Example #12
0
 public NewsController(INewsRepo newsRepo, IWebHostEnvironment webHost)
 {
     _newsRepo = newsRepo;
     _webhost  = webHost;
 }