示例#1
0
        public async Task <IActionResult> Delete([FromQuery] string clientId)
        {
            if (Int32.TryParse(clientId, out var id))
            {
                await _repository.DeleteClient(id);
            }

            return(Success(true));
        }