public Product GetProductByID(int _productID) { return(DataRowToProduct(Prodctx.GetProductByID(_productID))); }
public ProductDto GetProductByID(int productID) { return(context.GetProductByID(productID)); }
public Product getproductbyid(int id) { return(context.GetProductByID(id)); }