demo_trade/Data/Repository/IProductRepository.cs
2024-10-04 15:41:04 +03:00

19 lines
524 B
C#

using demo_trade.Data.RemoteData.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace demo_trade.Data.Repository
{
public interface IProductRepository : IDisposable
{
List<Product> GetProducts();
Boolean RemoveProductByArticleNumber(string articleNumber);
Product? UpdateProductByArticleNumber(Product product);
Product? GetProductByArticleNumber(string articleNumber);
void Save();
}
}