public RssController(ICourseService courseService, IYearService yearService, ICourseMenuService menuService, IContentManager contentManager, IRepository<PostRecord> postRepo) { this.contentManager = contentManager; this.yearService = yearService; this.courseService = courseService; this.menuService = menuService; this.postRepo = postRepo; }
public InscriptionController(IInscriptionService inscriptionService, ICareerService careerService, ICourseService courseService, IYearService yearService, IRatingService ratingService) { _inscriptionService = inscriptionService; _careerService = careerService; _courseService = courseService; _yearService = yearService; _ratingService = ratingService; }
public YearsController(IUnitOfWork <SchoolDBContext> unitOfWork, SchoolDBContext schoolDBContext, IMasterService masterService, IYearService yearService) { _unitOfWork = unitOfWork; _schoolDBContext = schoolDBContext; _masterService = masterService; _yearService = yearService; }
public CourseMenuController(IContentManager contentManager, IShapeFactory shapeFactory, IRepository<MailSubscriptionRecord> subscriptionRepo, IRepository<PostRecord> postRepo, ICourseService courseService, IYearService yearService, ICourseMenuService menuService, IAuthenticationService authenticationService) { this.Shape = shapeFactory; this.contentManager = contentManager; this.subscriptionRepo = subscriptionRepo; this.postRepo = postRepo; this.yearService = yearService; this.courseService = courseService; this.menuService = menuService; this.authenticationService = authenticationService; T = NullLocalizer.Instance; }
public CourseController(ICourseService courseService, ICareerService careerService, IMatterService matterService, IWeekdayService weekdayService, IUserService userService, IWallService wallService, IInscriptionService inscriptionService, IYearService yearService, ICommentService commentService, IRatingService ratingService, IAssistanceService assistanceService) { _courseService = courseService; _careerService = careerService; _matterService = matterService; _weekdayService = weekdayService; _userService = userService; _wallService = wallService; _inscriptionService = inscriptionService; _yearService = yearService; _commentService = commentService; _ratingService = ratingService; _assistanceService = assistanceService; }
public PostHandler(ICourseMenuService menuService, IYearService yearService, ICourseService courseService, IRepository<MailSubscriptionRecord> mailRepo, IMembershipService membershipService, IMessageManager messageManager, IRepository<PostRecord> postRepo, IHttpContextAccessor httpContextAccessor) { this.courseService = courseService; this.yearService = yearService; this.menuService = menuService; this.httpContextAccessor = httpContextAccessor; this.postRepo = postRepo; this.mailRepo = mailRepo; this.messageManager = messageManager; this.membershipService = membershipService; OnPublished<RoutePart>((context, part) => { var item = postRepo.Fetch(x => x.ContentId == part.ContentItem.Id).FirstOrDefault(); if (item != null) { var menu = menuService.Get(item.Menu.Id); sendEmail(menu.Id, part.ContentItem); } }); }
public YearController(IYearService yearService) { _yearService = yearService; }
public MatterController(IMatterService matterService, ICareerService careerService, IYearService yearService) { _matterService = matterService; _careerService = careerService; _yearService = yearService; }
public Year2ViewComponent(IYearService yearService) { this.yearService = yearService; }
/// <summary> /// Initializes a new Instance of <see cref="YearController"/> /// </summary> /// <param name="service">Injected <see cref="IYearService"/></param> public YearController(IYearService service) => Service = service;
public TaxServiceTests() { _stub = Substitute.For <IYearService>(); }
public TaxService(IYearService yearService) { _yearService = yearService; }
public GetYear(IYearService yearService) { _yearService = yearService; }
//Constructor public YearController() { this.YearService = new YearService(); }