Beispiel #1
0
    public async Task <ActionResult <User?> > UpdateAsync([FromRoute] Guid id, UserUpdateDto form)
    {
        var user = await _store.FindAsync(id);

        user.Merge(form);
        var res = await _store.UpdateAsync(id, form);

        return(res);
    }