public StudentsViewModel(IStudentService studentService, IDeleteCommandService deleteParameterService, IStudentRepository studentRepository) { this.studentService = studentService; this.deleteCommandService = deleteParameterService; this.studentRepository = studentRepository; Students = MappingUtil.MapToObservebleCollection <Student, StudentDTO>(studentRepository.GetAll()); }