예제 #1
0
 public ActionResult <Burger> Delete(string id)
 {
     try
     {
         var burger = _bs.DeleteBurger(id);
         return(Ok(burger));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }