public IActionResult DeleteAccountType(long id, IFormCollection form) { accountTypeRepository.DeleteAccountType(id); return(RedirectToAction("Index")); }