public async Task ReleaseUserHandling(ReleaseUserHandlingCommand command) { var application = await GetApplication(command.ApplicationId); application.ReleaseHandling(); await applicationRepository.UpdateAsync(application); }
public async Task <IActionResult> ReleaseHandling([FromRoute] Guid Id) { var command = new ReleaseUserHandlingCommand() { ApplicationId = Id }; await applicationService.ReleaseUserHandling(command); return(NoContent()); }