public StudentController(IStudentService studentService, IMapper <Student, StudentGetModel> studentGetModelMapper, IMapper <Student, StudentGetDetailedModel> studentGetDetailedModelMapper, IMapper <StudentPostModel, Student> studentPostModelMapper, IMapper <Student, StudentPostModel> studentToPostModelMapper, IViewBagDataProvider viewBagDataProvider) { _studentService = studentService; _studentGetModelMapper = studentGetModelMapper; _studentGetDetailedModelMapper = studentGetDetailedModelMapper; _studentToPostModelMapper = studentToPostModelMapper; _studentPostModelMapper = studentPostModelMapper; _viewBagDataProvider = viewBagDataProvider; }
public GroupController( IMapper <Group, GroupGetModel> groupGetModelMapper, IMapper <Group, GroupGetDetailedModel> groupGetDetailedMapper, IMapper <GroupPostModel, Group> groupMapper, IMapper <Group, GroupPostModel> groupPostModelMapper, IMapper <Student, StudentSelectModel> studentSelectModelMapper, IMapper <Student, StudentGetModel> studentGetModelMapper, IGroupService groupService, IStudentService studentService, IViewBagDataProvider viewBagDataProvider) { _groupGetModelMapper = groupGetModelMapper; _groupGetDetailedModelMapper = groupGetDetailedMapper; _groupMapper = groupMapper; _groupPostModelMapper = groupPostModelMapper; _studentSelectModelMapper = studentSelectModelMapper; _studentGetModelMapper = studentGetModelMapper; _groupService = groupService; _studentService = studentService; _viewBagDataProvider = viewBagDataProvider; }