// POST: Contracts/Delete/5
 public async Task <int> DeleteConfirmed(int id)
 {
     return(await _repository.Delete(id));
 }
Beispiel #2
0
 internal string Delete(int id)
 {
     _repo.Delete(id);
     return("Successfully Deleted");
 }