コード例 #1
0
 public async Task <ActionResult> RemovePreReleaseUser(
     Guid releaseId, [FromBody] PreReleaseAccessRequest request)
 {
     return(await _preReleaseUserService
            .RemovePreReleaseUser(releaseId, request.Email)
            .HandleFailuresOrNoContent());
 }
コード例 #2
0
 public async Task <ActionResult <PreReleaseUserViewModel> > InvitePreReleaseUser(
     Guid releaseId, [FromBody] PreReleaseAccessRequest request)
 {
     return(await _preReleaseUserService
            .AddPreReleaseUser(releaseId, request.Email)
            .HandleFailuresOrOk());
 }