public HttpResponseMessage GetGridData(string sessionKey, string cond = "", string order = "") { try { return(Request.CreateResponse <string>(HttpStatusCode.OK, JsonConvert.SerializeObject(dta.GetGridData(SelReceiveproductDFR.GetGridData(sessionKey, cond, out order), order)))); } catch (Exception e) { ExceptionHandler.Log(e); return(null); } }