Exemplo n.º 1
0
        public async Task <ActionResult> Enlist(string code)
        {
            await _workspaceService.Enlist(code);

            return(Ok());
        }
Exemplo n.º 2
0
 public async Task <ActionResult <WorkspaceSummary> > BecomeWorker(string code)
 {
     return(Ok(
                await _svc.Enlist(code, Actor.Id, Actor.Name)
                ));
 }