Beispiel #1
0
        // GET: Rfqs/Delete/5
        public async Task <ActionResult> Delete(int id)
        {
            await svs.Delete(id);

            return(RedirectToAction(nameof(Index)));
        }
Beispiel #2
0
 public ActionResult Delete(string id)
 {
     service.Delete(id, AuthenticationHelper.CompanyId.Value);
     return(RedirectToAction("Index"));
 }