public async Task <ActionResult <APIReturnObject> > AddUser([FromBody] UserModel user) { return(await Task.FromResult(_returnBridge.mapToAPIReturnObjectFrom(_userservice.create(user.Id, user.Username, user.Email, user.Password)))); }
public async Task <ActionResult <APIReturnObject> > AddUser([FromBody] UserModel user) { return(await Task.FromResult(_returnBridge.mapToAPIReturnObjectFrom(_userservice.create(user.Id, user.Username, user.Email, user.Password)))); }