public IActionResult GetAll()
        {
            IEnumerable <Ban> bans = banService.GetList();

            if (bans != null)
            {
                return(Ok(bans));
            }
            return(BadRequest());
        }