public async Task <IActionResult> DropAccountSubHead(int ID) { Result = await _setupService.DropAccountSubHeadAsync(ID); if (Result) { StatusMessage = _config.GetSection("Messages")["Success"]; return(RedirectToAction(nameof(AccountSubHeadListing))); } StatusMessage = "Error: Unable to delete branch"; return(RedirectToAction(nameof(AccountSubHeadListing))); }