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