internal string Delete(int id) { var qexists = _qreop.GetById(id); if (qexists == null) { throw new Exception("Invalid id"); } _qreop.Delete(id); return("Successfully Deleted"); }
public bool Delete(int id) { return(_repo.Delete(id)); }