Beispiel #1
0
        public IActionResult GoToTheJail(long id)
        {
            if (_policePresentation.CitizenToJail(id))
            {
                return(RedirectToAction("PolicePersonalCabinet"));
            }

            return(BadRequest("Cannot delete this citizen"));
        }