Ejemplo n.º 1
0
 public async Task <IActionResult> Patch([FromBody] Shopping shopping)
 {
     if (shopping != null)
     {
         return(Ok(await shopping.Update()));
     }
     return(BadRequest("Parameters are null"));
 }