Esempio n. 1
0
        public async Task ReleaseUserHandling(ReleaseUserHandlingCommand command)
        {
            var application = await GetApplication(command.ApplicationId);

            application.ReleaseHandling();
            await applicationRepository.UpdateAsync(application);
        }
Esempio n. 2
0
        public async Task <IActionResult> ReleaseHandling([FromRoute] Guid Id)
        {
            var command = new ReleaseUserHandlingCommand()
            {
                ApplicationId = Id
            };

            await applicationService.ReleaseUserHandling(command);

            return(NoContent());
        }