public IActionResult Edit(ClassEditViewModel classModel) { ClassBusiness classModelBusiness = new ClassBusiness(); var result = classModelBusiness.Edit(classModel); return(Ok(result)); }