public async Task AddCategory(string name)
 {
     await CategotyRepository.AddCategory(name);
 }
 public async Task <bool> DeleteCategory(int categoryId)
 {
     return(await CategotyRepository.DeleteCategory(categoryId));
 }
 public List <CategoryDto> GetCategories()
 {
     return(CategotyRepository.GetCategories());
 }