methods buy and sell
This commit is contained in:
@@ -6,5 +6,6 @@ namespace LuminousSales.Business
|
||||
{
|
||||
public class DealsBusiness
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -27,7 +27,7 @@ namespace LuminousSales.Business
|
||||
}
|
||||
}
|
||||
|
||||
public void Add(Product product)
|
||||
public void Buy(Product product)
|
||||
{
|
||||
using (productContext = new ProductContext())
|
||||
{
|
||||
@@ -49,7 +49,7 @@ namespace LuminousSales.Business
|
||||
}
|
||||
}
|
||||
|
||||
public void Delete(int id)
|
||||
public void Sell(int id)
|
||||
{
|
||||
using (productContext = new ProductContext())
|
||||
{
|
||||
|
Reference in New Issue
Block a user