public async Task <FileContentResult> GetImage(int?goodsId)
        {
            GoodsModel goods = await _repository.GetGoodsByIdAsync((int)goodsId);

            if (goods != null)
            {
                return(File(goods.ImageData, goods.ImageMimeType));
            }
            else
            {
                return(null);
            }
        }