public void Update(ModuleCreateViewModel module) { Name = module.Name; Description = module.Description; }
public Module(ModuleCreateViewModel module, int courseId) { Update(module); CourseId = courseId; }