public async Task <IActionResult> Delete(int id)
        {
            JsonModel json = new JsonModel()
            {
                Code = 200, Msg = "保存成功!"
            };

            try
            {
                await _bannerService.DeleteBannerByIdAsync(id);
            }
            catch (Exception ex)
            {
                json.Code = 500;
                json.Msg  = $"保存异常!{ex.Message}";

                return(Json(json));
            }

            return(Json(json));
        }