public DataService(gipDatabaseContext db, IVakService service, ILectorService lectorService, IAdministrationService adminService)
 {
     this.adminService  = adminService;
     this.lectorService = lectorService;
     this.service       = service;
     this.db            = db;
 }
Beispiel #2
0
 public UserOperations(ISpecialtyService specialtyService, IUserService userService, ILectorService lectorService, IMapper mapper, IFacultyService facultyService, ITeamService teamService)
 {
     _specialtyService = specialtyService;
     _userService      = userService;
     _teamService      = teamService;
     _mapper           = mapper;
     _lectorService    = lectorService;
     _facultyService   = facultyService;
 }
Beispiel #3
0
        public LectorTest()
        {
            var nockMapper = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile(new AutoMapping());
            });

            _mapper           = nockMapper.CreateMapper();
            _facultyService   = new Mock <IFacultyRepository>();
            _lectorRepository = new Mock <ILectorRepository>();
            _ilectorService   = new LectorService(_lectorRepository.Object, _facultyService.Object);
        }
 public LectorController(ILectorService service)
 {
     this.service = service;
 }
Beispiel #5
0
 public LectoresController(ILectorService service)
 {
     _service = service;
 }
Beispiel #6
0
 public LectorsController(ILectorService lectorService, IMapper mapper)
 {
     _lectorService = lectorService;
     _mapper        = mapper;
 }
 public StudentController(IStudentService studentService, ILectorService lectorService)
 {
     StudentService = studentService;
     LectorService  = lectorService;
 }