IProcessService.cs 535 B

12345678910111213141516171819
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using GxPress.Entity.WorkProcess;
  4. using GxPress.Entity.WorkProcessDto;
  5. namespace GxPress.Service.Interface
  6. {
  7. public interface IProcessService : IService
  8. {
  9. Task<Process> AddAsync(ProcessDto request);
  10. Task<Process> EditAsync(ProcessDto request);
  11. Task<ProcessDto> GetAsync(int processId);
  12. Task<List<ProcessNodeDto>> GetNodesAsync(int processId, int parentId);
  13. Task<List<ProcessNodeDto>> GetAllAsync(int processId);
  14. }
  15. }