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