Exemple #1
0
        public async Task <IActionResult> GetType(int id)
        {
            var response = await _violationService.GetViolationTypeDetailAsync(id);

            if (response != null)
            {
                return(Ok(response));
            }

            return(NotFound(null));
        }