Add project files.
This commit is contained in:
16
RepositoryPattern/IProductRepository.cs
Normal file
16
RepositoryPattern/IProductRepository.cs
Normal file
@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user