public List <AnalysisHeadSelectAll_Result> GetAnalysisHeadSelectList(int BranchId, string Term) { return(Context1.AnalysisHeadSelectAll(BranchId).Where(c => c.AnalysisHead.ToLower().Contains(Term.ToLower())).OrderBy(x => x.AnalysisGroup).ToList()); }
public ActionResult AnalysisheadReport() { ViewBag.anlaysishead = context.AnalysisHeadSelectAll(Convert.ToInt32(Session["AcCompanyID"].ToString())).ToList(); return(View()); }