// public List <NameWSModel> getCoursesName(string pStudyPlan, string pBlockNumber) { var blockNumber = int.Parse(pBlockNumber); var StudyPlan = int.Parse(pStudyPlan); var result = db.SP_GetCourses(StudyPlan, blockNumber).ToList(); return(result); }