public CommentsController( ICommentsService commentsService, IProductsService productsService, IProgramsService programsService) { this.commentsService = commentsService; this.productsService = productsService; this.programsService = programsService; }
public ProgramsController( IProgramsService programsService, ICategoriesService categoriesService, IExercisesService exercisesService, ICommentsService commentsService) { this.programsService = programsService; this.categoriesService = categoriesService; this.exercisesService = exercisesService; this.commentsService = commentsService; }
public ImagesController( IImagesService imagesService, IPostsService postsService, IProductsService productsService, IProgramsService programsService, IExercisesService exercisesService) { this.imagesService = imagesService; this.postsService = postsService; this.productsService = productsService; this.programsService = programsService; this.exercisesService = exercisesService; }
/// <summary> /// Constructor injection /// </summary> /// <param name="programsService"></param> /// <param name="divisionsService"></param> /// <param name="errorsFactory"></param> public ProgramsController( IProgramsService programsService, IStudyDivisionsService divisionsService, IErrorsResultFactory errorsFactory) { this.programsService = programsService ?? throw new ArgumentNullException(nameof(programsService)); this.divisionsService = divisionsService ?? throw new ArgumentNullException(nameof(divisionsService)); this.errorsFactory = errorsFactory ?? throw new ArgumentNullException(nameof(errorsFactory)); }
public ProgramsController(IProgramsService programService, IMapper mapper) { if (programService == null) { throw new ArgumentNullException(nameof(programService)); } if (mapper == null) { throw new ArgumentNullException(nameof(mapper)); } this.mapper = mapper; this.programService = programService; }
public ImagesService( MyCalisthenicAppDbContext dbCotext, IMapper mapper, IPostsService postsService, IExercisesService exercisesService, IProductsService productsService, IProgramsService programsService) { this.dbContext = dbCotext; this.mapper = mapper; this.postsService = postsService; this.exercisesService = exercisesService; this.productsService = productsService; this.programsService = programsService; }
public void Initialize() { _programsService = new ProgramsRestService(); }
public ProgramsController(IProgramsService programsService, ICategoriesService categoriesService) { this.programsService = programsService; this.categoriesService = categoriesService; }
public HomePopularProgramsViewComponent(IProgramsService programsService) { this.programsService = programsService; }
public ProgramsController(IProgramsService programsService) { this.programsService = programsService; }
public ProgramsManager(IProgramsService programsService) { _programsService = programsService; }
public EventsManager(IChannelsService channelsService, IProgramsService programsService) { _channelsService = channelsService; _programsService = programsService; }
public ProgramsManager(IProgramsService programsService, IProgramsValidator programsValidator) { _programsService = programsService; _programsValidator = programsValidator; }
/// <summary> /// Constructor /// </summary> /// <param name="db"></param> /// <param name="programsService"></param> public TakingsService(IUnitOfWork db, IProgramsService programsService) { this.db = db; this.programsService = programsService; }
/// <summary> /// Constructor /// </summary> /// <param name="programs"></param> public ProgramsController(IProgramsService programs) { this.programs = programs; }