Created and implemented StockDal.InterFace
This commit is contained in:
14
StockDal.Interface/IProductRepository.cs
Normal file
14
StockDal.Interface/IProductRepository.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using StockDomain;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace StockDal.Interface
|
||||
{
|
||||
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