Example #1
0
 public static List <Product> GetAll()
 {
     try
     {
         return(DAL_Product.GetAll());
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #2
0
 public static void Update(Product model)
 {
     try
     {
         DAL_Product.Update(model);
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #3
0
 public static void Create(Product model, int EnglishLanguageID)
 {
     try
     {
         DAL_Product.Create(model, EnglishLanguageID);
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Example #4
0
 public static Product GetProduct(int productID)
 {
     return(DAL_Product.GetProduct(productID));
 }