public async Task <ActionResult <NarudzbaResponse> > Update(int id, NarudzbaUpdateRequest request) { var response = await _service.Update(id, request); if (response == null) { return(NotFound()); } return(Ok(response)); }
public void Update(int id, [FromBody] NarudzbaInsertRequest request) { _narudzbaService.Update(id, request); }
public OnlineGym_Model.Narudzbe Update(NarudzbaUpsertRequest request) { return(_service.Update(request)); }
public Model.Narudzba Update(int id, [FromBody] NarudzbaInsertRequest request) { return(_service.Update(id, request)); }