public async Task <IActionResult> DeleteAsync(int id)
        {
            var result = await _catService.DeleteAsync(id);

            if (!result.Success)
            {
                return(BadRequest(result.Message));
            }

            var catResource = _mapper.Map <Cat, CatResource>(result.Cat);

            return(Ok(catResource));
        }