demo_trade/Data/Repository/IProductRepository.cs

19 lines
524 B
C#
Raw Permalink Normal View History

2024-10-04 12:41:04 +00:00
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();
}
}