Пример #1
0
        public async Task <ActionResult> Enlist(string code)
        {
            await _workspaceService.Enlist(code);

            return(Ok());
        }
Пример #2
0
 public async Task <ActionResult <WorkspaceSummary> > BecomeWorker(string code)
 {
     return(Ok(
                await _svc.Enlist(code, Actor.Id, Actor.Name)
                ));
 }