public ProgramDayService(FitnessAppContext context, IMapper mapper, IRepository <ProgramDay> repository, IDishService dishService, IProgramTypeService programTypeService) { _context = context; _mapper = mapper; _repository = repository; _dishService = dishService; _programTypeService = programTypeService; }
public ProgramScheduleService(IRepository <ProgramSchedule> repository, IUserScheduleService userScheduleService , IDishService dishService, IMapper mapper, FitnessAppContext context, IProgramTypeService typeService) { _programScheduleRepository = repository; _userScheduleService = userScheduleService; _dishService = dishService; _mapper = mapper; _context = context; _programTypeService = typeService; }
/// <summary> /// Constructor for assigning value to database connection. /// </summary> /// <param name="databaseConnectionFactory"></param> public Programs(IDatabaseConnectionFactory databaseConnectionFactory, IConfiguration configuration, IOrganisationProgram orgProgram, IPhotos photos, ISharedJPOSService sharedJPOSService, IProgramTypeService programTypeService) : base(databaseConnectionFactory) { _databaseConnectionFactory = databaseConnectionFactory ?? throw new ArgumentNullException(nameof(databaseConnectionFactory)); _configuration = configuration; _orgProgram = orgProgram; _photos = photos; _sharedJPOSService = sharedJPOSService; _programTypeService = programTypeService; }
public ProgramScheduleController(IProgramScheduleService programScheduleService, IMapper mapper, IProgramTypeService programTypeService) { _programScheduleService = programScheduleService; _mapper = mapper; _programTypeService = programTypeService; }
public ProgramTypeController(IProgramTypeService programTypeService, IMapper mapper) { _programTypeService = programTypeService; _mapper = mapper; }