public IActionResult Complete(int id) { _requestService.CompleteRequest(id); var isRequested = _requestService.SaveChanges(); if (isRequested != true) { return(RedirectToAction(nameof(Index))); } return(RedirectToAction(nameof(Requests))); }