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)); }
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)); }