選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

ICategoryService.cs 630B

123456789101112131415161718
  1. using Diligent.WebAPI.Contracts.DTOs.Categories;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Diligent.WebAPI.Business.Services.Interfaces
  8. {
  9. public interface ICategoryService
  10. {
  11. Task<CategoriesParentChild> GetRootCategories(int userId,int categoryId);
  12. Task<Category> GetCategoryEntityById(int? id);
  13. Task<List<IsGrantedCategory>> GetCategories(int userId);
  14. Task<List<TreeViewCategoryResponse>> GetAllCategories(int userId);
  15. Task CreateAsync(CreateCategoryDto createCategoryDto, int userId);
  16. }
  17. }