IRecipeService.cs 625 B

123456789101112131415161718
  1. using ProductionLineMonitor.Core.Dtos;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Security.Cryptography;
  5. using System.Text;
  6. namespace ProductionLineMonitor.Core.Services
  7. {
  8. public interface IRecipeService
  9. {
  10. PageDto<IEnumerable<RecipeDto>> GetPageList(int pageIndex, int pageSize, string? keyword = null);
  11. ResultDto<IEnumerable<RecipeDto>> GetList();
  12. ResultDto<RecipeDto> GetById(string id);
  13. ResultDto<RecipeDto> Create(RecipeCreateOrUpdateDto input);
  14. ResultDto Update(string id, RecipeCreateOrUpdateDto input);
  15. ResultDto Delete(string id);
  16. }
  17. }