public List <sp_BooksSelect_Result> BooksMasterSelect(int pGenreId) { using (touchdbEntities context = new touchdbEntities()) { var pBookMaster = context.sp_BooksSelect(pGenreId).ToList(); return(pBookMaster); } }