Ejemplo n.º 1
0
        public async Task <ActionResult <Client> > DeleteClient(Guid id)
        {
            var client = _applicationUserService.GetClient(id);

            if (client == null)
            {
                return(NotFound());
            }

            client = _applicationUserService.DeleteClient(id);

            return(client);
        }