public bool AddCourseModules([FromBody] CourseModules Model) { try { CoursesRepository _searchRepository = new CoursesRepository(); var Result = _searchRepository.AddCourseModules(Model); return(Result); } catch (Exception ex) { throw; } }
public bool AddCourseModules([FromBody] CourseModules Model) { try { CoursesRepository _searchRepository = new CoursesRepository(); var Result = _searchRepository.AddCourseModules(Model); return(Result); } catch (Exception ex) { throw; } }