Beispiel #1
0
    public async Task <ActionResult <bool> > DeleteAsync([FromRoute] Guid id)
    {
        var user = await _store.FindAsync(id);

        if (user == null)
        {
            return(NotFound());
        }
        return(await _store.DeleteAsync(id));
    }