public List <vmBrand> GetBrands(int?pageNumber, int?pageSize, int?IsPaging, int?CompanyID) { List <vmBrand> Brands = null; try { Brands = objCmnItemGroupMgtEF.GetBrands(pageNumber, pageSize, IsPaging, CompanyID).ToList(); } catch (Exception e) { e.ToString(); } return(Brands); }