public async Task <CategoryReadDto> GetCategoryByIdAsync(int id)
        {
            var category = await _repo.GetCategoryByIdAsync(id);

            if (category == null)
            {
                return(null);
            }

            return(_mapper.Map <CategoryReadDto>(category));
        }