public Product GetProduct(int?Id)
 {
     try
     {
         return(IProductRepositery.GetProduct(Id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #2
0
 public Product Execute(int id)
 {
     return(productRepositery.GetProduct(id));
 }