Exemplo n.º 1
0
 public HomeController(ILearningPlusNewsService newsService,
                       IClassesService classesService,
                       IHomeworkService homeworkService,
                       IMapper mapper)
 {
     this.newsService     = newsService;
     this.classesService  = classesService;
     this.homeworkService = homeworkService;
     this.mapper          = mapper;
 }
Exemplo n.º 2
0
 public NewsController(ILearningPlusNewsService newsService,
                       UserManager <LearningPlusUser> userManager,
                       IRepository <LearningPlusNews> repository,
                       IMapper mapper)
 {
     this.newsService = newsService;
     this.userManager = userManager;
     this.repository  = repository;
     this.mapper      = mapper;
 }