public JsonResult GetAllProductTypeJS(string page, string size) { if (size == null) { size = int.MaxValue.ToString(); } productType = productTypeIterface.GetAllLSPInAdmin(page, size); return(Json(productType, JsonRequestBehavior.AllowGet)); }