public void Save(CourseViewModel vm) { var entity = new CourseEntity(0); vm.Bind(entity); CourseService.Save(entity); }