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; }
public SermonController(ISermonServices sermonServices) { _sermonServices = sermonServices; _context = new ApplicationDbContext(); }
public NavigationController(ApplicationDbContext context, ISermonServices sermon, ISermonCategoryServ categoryServ) { _context = context; _sermonServices = sermon; _categoryServ = categoryServ; }