17 lines
364 B
C#
17 lines
364 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace RepositoryPattern
|
|
{
|
|
public interface IProductRepository
|
|
{
|
|
IEnumerable<Product> GetProducts();
|
|
bool Insert(Product product);
|
|
bool Update(Product product);
|
|
bool Delete(string productId);
|
|
}
|
|
}
|