Пример #1
0
 /// <summary>
 /// 2018/12/17 Vaishnavi Soni
 /// Get list of all product categories.
 /// </summary>
 /// <returns>List<Category></returns>
 public List <STP_GetAllSubCategories_Result> GetAllSubCategories()
 {
     try
     {
         using (ShoppingCartEntities db = new ShoppingCartEntities())
         {
             List <STP_GetAllSubCategories_Result> BusinessCategory = db.STP_GetAllSubCategories().ToList();
             return(BusinessCategory);
         }
     }
     catch (System.Exception ex)
     {
         objErrorLogger.ErrorLog(ex);
         throw ex;
     }
 }