public static string GetListProduct(string keyword, int currentpage, int numberinpage, int type) { try { int totalitem = 0; var data = ProductInfo.GetBySeller(HttpContext.Current.User.Identity.Name, type, currentpage, numberinpage, keyword, ref totalitem); return(Converts.Serialize(new { Status = true, Data = data, TotalItem = totalitem })); } catch (Exception) { return(Converts.Serialize(new { Status = false })); } }