public DormitoryRoomController(
     IMapper <DormitoryRoom, DormitoryRoomGetModel> dormitoryRoomGetModelMapper,
     IMapper <DormitoryRoomPostModel, DormitoryRoom> dormitoryRoomMapper,
     IMapper <DormitoryRoom, DormitoryRoomPostModel> dormitoryRoomPostModelMapper,
     IMapper <Dormitory, SelectListItem> dormitoryRoomModelMapper,
     IMapper <Student, StudentSelectModel> studentSelectModelMapper,
     IMapper <Student, StudentGetModel> studentGetModelMapper,
     IDormitoryRoomService dormitoryRoomService,
     IDormitoryService dormitoryService,
     IStudentService studentService)
 {
     _dormitoryRoomGetModelMapper  = dormitoryRoomGetModelMapper;
     _dormitoryRoomMapper          = dormitoryRoomMapper;
     _dormitoryRoomPostModelMapper = dormitoryRoomPostModelMapper;
     _dormitorySelectModelMapper   = dormitoryRoomModelMapper;
     _studentSelectModelMapper     = studentSelectModelMapper;
     _studentGetModelMapper        = studentGetModelMapper;
     _dormitoryRoomService         = dormitoryRoomService;
     _dormitoryService             = dormitoryService;
     _studentService = studentService;
 }
示例#2
0
 public DormitoryController(
     IMapper <Dormitory, DormitoryGetModel> groupGetModelMapper,
     IMapper <DormitoryPostModel, Dormitory> groupMapper,
     IMapper <Dormitory, DormitoryPostModel> groupPostModelMapper,
     IMapper <DormitoryRoom, DormitoryRoomGetModel> dormitoryRoomGetModelMapper,
     IMapper <DormitoryRoom, DormitoryRoomSelectModel> dormitoryRoomSelectModelMapper,
     IMapper <Faculty, FacultySelectModel> facultySelectModelMapper,
     IMapper <Student, StudentGetModel> studentGetModelMapper,
     IDormitoryService dormitoryService,
     IDormitoryRoomService dormitoryRoomService,
     IFacultyService facultyService)
 {
     _dormitoryGetModelMapper        = groupGetModelMapper;
     _dormitoryMapper                = groupMapper;
     _dormitoryPostModelMapper       = groupPostModelMapper;
     _dormitoryRoomGetModelMapper    = dormitoryRoomGetModelMapper;
     _dormitoryRoomSelectModelMapper = dormitoryRoomSelectModelMapper;
     _facultySelectModelMapper       = facultySelectModelMapper;
     _studentGetModelMapper          = studentGetModelMapper;
     _dormitoryService               = dormitoryService;
     _dormitoryRoomService           = dormitoryRoomService;
     _facultyService = facultyService;
 }