public static List<AssignmentStatusByUser_EPData> GetAssignmentStatusByUser_EPData(SearchAssignmentStatusByUser search) { var result = new List<AssignmentStatusByUser_EPData>(); using (var DBMEdition01_Entities = new DBMEdition01_Entities()) { try { int ProgramID = Convert.ToInt32(search.ProgramIDs); result = DBMEdition01_Entities.GetAssignmentStatusByUser_EPWise(search.SelectedSiteIDs, ProgramID, search.SelectedChapterIDs, search.SelectedStandardIDs, search.SelectedScoreType, search.SelectedAssignedToIDs, search.IncludeFSAEPs, search.IncludeDocumentationRequired, search.IncludeNewChangedEPs, search.StartDate, search.EndDate, search.StandardEffBeginDate, search.ScoreValueList, search.LevelIdentifier).ToList(); } catch (Exception ex) { throw ex; } return result; } }