public IActionResult Get()
 {
     try
     {
         var models = _repository.GetAllGoods();
         if (models == null)
         {
             return(NotFound("아무런 데이터가 없습니다."));
         }
         return(Ok(models)); // 200 OK
     }
     catch (Exception ex)
     {
         return(BadRequest(ex));
     }
 }
 public async Task <List <Pizza> > GetGoodsList()
 {
     return(await _goodsRepository.GetAllGoods());
 }