//private GenericRepository<CourseDay> _courseDayRepository; public CourseDayService(/*ICourseDayRepo courseDayRepo,*/ IEntityToDtoMapper entityToDtoMapper, ICourseDayRepoService courseDayRepoService) { //_courseDayRepo = courseDayRepo; _entityToDtoMapper = entityToDtoMapper; _courseDayRepoService = courseDayRepoService; //_courseDayRepository = RegisterArchLayerUoW.GetInstance().GetRepository<CourseDay>(); }
/// <summary> /// Initializes a new instance of the <see cref="GetRadioStationsDirector"/> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="mapper">The mapper.</param> public GetRadioStationsDirector(IRadioStationsRepository repository, IEntityToDtoMapper <Entities.RadioStation, Dto.RadioStation> mapper) { this.repository = repository; this.mapper = mapper; }
/// <summary> /// Initializes a new instance of the <see cref="GetCountriesDirector"/> class. /// </summary> /// <param name="countriesRepository">The countries repository.</param> /// <param name="mapper">The country mapper.</param> public GetCountriesDirector(ICountriesRepository countriesRepository, IEntityToDtoMapper <Entities.Country, Dto.Country> mapper) { this.countriesRepository = countriesRepository; this.mapper = mapper; }
/// <summary> /// Initializes a new instance of the <see cref="GetCountriesDirector"/> class. /// </summary> /// <param name="countriesRepository">The countries repository.</param> /// <param name="mapper">The country mapper.</param> public GetCountriesDirector(ICountriesRepository countriesRepository, IEntityToDtoMapper<Entities.Country, Dto.Country> mapper) { this.countriesRepository = countriesRepository; this.mapper = mapper; }
public CourseService() { _courseRepoService = new CourseRepoService(); _entityToDtoMapper = new EntityToDtoMapper(); _studentRepository = RegisterArchLayerUoW.GetInstance().GetRepository <Student>(); }
/// <summary> /// Initializes a new instance of the <see cref="GetRadioStationsDirector"/> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="mapper">The mapper.</param> public GetRadioStationsDirector(IRadioStationsRepository repository, IEntityToDtoMapper<Entities.RadioStation, Dto.RadioStation> mapper) { this.repository = repository; this.mapper = mapper; }
public HomeworkService(/*IHomeworkRepo homeworkRepo,*/ IEntityToDtoMapper entityToDtoMapper, IHomeworkRepoService homeworkRepoService) { //_homeworkRepo = homeworkRepo; _entityToDtoMapper = entityToDtoMapper; _homeworkRepoService = homeworkRepoService; }
public HomeworkService() { //_homeworkRepo = new HomeworkRepo(); _entityToDtoMapper = new EntityToDtoMapper(); _homeworkRepoService = new HomeworkRepoService(); }