예제 #1
0
 public bool DeleteById(int id)
 {
     return(_productDAO.DeleteById(id));
 }
예제 #2
0
 public void DeleteById(int Id)
 {
     _productDAO.DeleteById(Id);
     Context.SaveChanges();
 }