private List <string> GetAllPropertyNameOfClassificationOfScientificWorkViewModel() { var classificationOfScientificWorkViewModel = new ClassificationOfScientificWorkViewModel(); var type = classificationOfScientificWorkViewModel.GetType(); return(ReflectionUtilities.GetAllPropertyNamesOfType(type)); }
public OtherScientificWorkViewModel(OtherScientificWork otherScientificWork) : this() { if (otherScientificWork != null) { Id = otherScientificWork.Id; Name = otherScientificWork.Name; Time = otherScientificWork.Time; ClassificationOfScientificWork = new ClassificationOfScientificWorkViewModel(otherScientificWork.ClassificationOfScientificWork); Lecturers = GetLecturer(otherScientificWork); //User = new UserViewModel(scientificWork.User); //Lecturer = new LecturerViewModel; } }