public async Task <ActionResult> RemovePreReleaseUser( Guid releaseId, [FromBody] PreReleaseAccessRequest request) { return(await _preReleaseUserService .RemovePreReleaseUser(releaseId, request.Email) .HandleFailuresOrNoContent()); }
public async Task <ActionResult <PreReleaseUserViewModel> > InvitePreReleaseUser( Guid releaseId, [FromBody] PreReleaseAccessRequest request) { return(await _preReleaseUserService .AddPreReleaseUser(releaseId, request.Email) .HandleFailuresOrOk()); }