예제 #1
0
 public async Task <IActionResult> UpdateOpeningHours([FromBody] Shopping shopping)
 {
     if (shopping != null)
     {
         return(Ok(await shopping.UpdateOpeningHours()));
     }
     return(BadRequest("Parameters are null"));
 }