public IActionResult Modify(ModifyChapterViewModel model) { var success = service.Modify( model.ChapterId, model.CourseId, model.ParentId, model.Title, model.Content, model.Video, model.Status); return(Ok(success)); }
public IActionResult Modify(ModifyChapterViewModel model) { var success = service.Modify( model.ChapterId, model.CourseId, model.ParentId, model.Title, model.Content, model.Video, model.Status); return(Ok(success)); }