public ActionResult DeleteConfirmed(string SupID)
 {
     _supRepository.DeleteSupplier(SupID);
     return(RedirectToAction("ListSup", "Supplier"));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Removes specific Supplier
 /// </summary>
 /// <param name="id">Identifier</param>
 /// <returns>No of Supplier Deleted</returns>
 public int Delete(int id = 0)
 {
     return(SupplierDao.DeleteSupplier(id));
 }
Exemplo n.º 3
0
 public virtual void DeleteSupplier(String code)
 {
     entityDao.DeleteSupplier(code);
 }