public ActionResult DeleteConfirmed(Guid id) { AccountBookViewModels accountBookViewModels = _accountBookSvc.LookupByGuid(id); if (accountBookViewModels == null) { return(HttpNotFound()); } _accountBookSvc.Remove(accountBookViewModels); _accountBookSvc.Save(); return(RedirectToAction("Index")); }