private List <string> GetAllPropertyNameOfViewModel() { var postViewModel = new PostViewModel(); var type = postViewModel.GetType(); return(ReflectionUtilities.GetAllPropertyNamesOfType(type)); }