Compare commits

...

3 Commits

  1. 6
      Controllers/ItemController.cs

6
Controllers/ItemController.cs

@ -23,7 +23,11 @@ namespace BuecherwurmAPI.Controllers
public ActionResult<IEnumerable<Item>> GetAllItems()
{
var items = _repository.GetAllItems();
return Ok(items);
if (items != null)
{
return Ok(items);
}
return NoContent();
}
// POST api/inventar

Loading…
Cancel
Save