public async Task TestGetAll()
        {
            List <CategoryType> result = await categoryTypeRepository.GetAll(Context);

            Assert.IsNotNull(result, "Expected at least 5 default category types");
        }
 public async Task <List <CategoryType> > GetAll()
 {
     return(await categoryTypeRepository.GetAll());
 }