public IActionResult DeleteUser(Guid userGuid) { try { _userLogin.DeleteUser(userGuid); _adapterRepo.DeleteUser(userGuid); return(RedirectToAction(nameof(GetUsers))); } catch (Exception) { return(BadRequest("Could Not Delete User")); } }