public string GetCategoryByQuantity() { categoryByQuantity = new List <CategoryByQuantity>(); try { foreach (CategoryByQuantity result in context.usp_QT_Metrics_CategoryByQuantity()) { categoryByQuantity.Add(result); } return(""); } catch (Exception) { return(errorMessage); } }