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