public HomeController(IMemberServices services, IDepartmentService departmentService, IWorkerServices worker, IMemberServices member, ISermonServices sermon, ApplicationDbContext applicationDb, IEventServices eventServices)
 {
     _memberServices = services;
     _dtservice      = departmentService;
     _event          = eventServices;
     _sermonServices = sermon;
     _workServ       = worker;
     _context        = applicationDb;
 }
Exemple #2
0
 public SermonController(ISermonServices sermonServices)
 {
     _sermonServices = sermonServices;
     _context        = new ApplicationDbContext();
 }
 public NavigationController(ApplicationDbContext context, ISermonServices sermon, ISermonCategoryServ categoryServ)
 {
     _context        = context;
     _sermonServices = sermon;
     _categoryServ   = categoryServ;
 }