IAppStartPageRepository.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using Datory;
  4. namespace GxPress.Repository.Interface.AppStartPage
  5. {
  6. public interface IAppStartPageRepository : IRepository
  7. {
  8. /// <summary>
  9. /// 获取 APP启动 1IOS 2Android
  10. /// </summary>
  11. /// <param name="appTypeId"></param>
  12. /// <returns></returns>
  13. Task<Entity.tede2.AppStartPage.AppStartPage> GetAsync(int appTypeId);
  14. /// <summary>
  15. /// 查询
  16. /// </summary>
  17. /// <returns></returns>
  18. Task<IEnumerable<Entity.tede2.AppStartPage.AppStartPage>> GetAllAsync();
  19. /// <summary>
  20. /// 删除
  21. /// </summary>
  22. /// <param name="id"></param>
  23. /// <returns></returns>
  24. Task<bool> DeleteAsync(int id);
  25. /// <summary>
  26. /// 修改
  27. /// </summary>
  28. /// <param name="model"></param>
  29. /// <returns></returns>
  30. Task<bool> UpdateAsync(Entity.tede2.AppStartPage.AppStartPage model);
  31. /// <summary>
  32. /// 添加
  33. /// </summary>
  34. /// <param name="model"></param>
  35. /// <returns></returns>
  36. Task<bool> InsertAsync(Entity.tede2.AppStartPage.AppStartPage model);
  37. }
  38. }