public ActionResult BindUserGrid(string sidx, string sord, int page, int rows, string filters, string search)
 {
     try
     {
         List <SearchUserResult> lstUser = _objiClsUser.SearchUser(rows, page, search, sidx + " " + sord);
         if (lstUser != null)
         {
             return(FillGrid(page, rows, lstUser));
         }
         else
         {
             return(Json(string.Empty));
         }
     }
     catch (Exception ex)
     {
         Logger.Write(ex, System.Reflection.MethodBase.GetCurrentMethod().Name, PageMaster.User, _mySession.UserId);
         return(Json(string.Empty));
     }
 }
Ejemplo n.º 2
0
 public List <SearchUserResult> SearchUser(int inNoOfRows, int v1, string strSearchValue, string v2)
 {
     return(_user.SearchUser(inNoOfRows, v1, strSearchValue, v2));
 }