Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public JsonResult SetGridProperties(Response<T> res)
- {
- res.ShowFilterRow = (!res.ShowFilterRow);
- return Json(true, JsonRequestBehavior.AllowGet);
- }
- public class Response<T>
- {
- public bool Status { get; set; }
- public string Message { get; set; }
- public T Data { get; set; }
- public List<T> DataList { get; set; }
- public MessageTypes MessageType { get; set; }
- public bool ShowFilterRow { get; set; }
- public bool AllowGroup { get; set; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement