ISuperCmsRepo.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using Dapper;
  2. using Microsoft.Extensions.Configuration;
  3. using Oracle.ManagedDataAccess.Client;
  4. using SuperCms.Models;
  5. using SuperCms.Oracle;
  6. using System;
  7. using System.Collections.Generic;
  8. using System.Data;
  9. using System.Linq;
  10. using System.Threading.Tasks;
  11. namespace SuperCms.Repositories
  12. {
  13. public interface ISuperCmsRepo
  14. {
  15. object GetConnConfig(log4net.ILog log);
  16. object GetConnTelco(log4net.ILog log);
  17. object GetConnData(log4net.ILog log, String fromDate, String toDate);
  18. object GetConnCompany(log4net.ILog log);
  19. object GetConnDataByService(log4net.ILog log, String serviceID, String fromDate, String toDate);
  20. object GetAllBots(log4net.ILog log);
  21. object GetAllGroups(log4net.ILog log);
  22. object GetAllConfigs(log4net.ILog log);
  23. object GetScheduleByRow(log4net.ILog log, String seqPage, String rowsOnPage);
  24. object GetTotalRow(log4net.ILog log, String type);
  25. object AddingBotStructure(log4net.ILog log, BotStructure bot);
  26. object AddingGroupStructure(log4net.ILog log, GroupStructure group);
  27. object AddingScheduleStructure(log4net.ILog log, ScheduleStructure schedule);
  28. object AddingConfig(log4net.ILog log, Config config);
  29. object EditingBotStructure(log4net.ILog log, BotStructure bot);
  30. object EditingGroupStructure(log4net.ILog log, GroupStructure group);
  31. object EditingScheduleStructure(log4net.ILog log, ScheduleStructure schedule);
  32. object EditingConfig(log4net.ILog log, Config config);
  33. object GetAllSendMails(log4net.ILog log);
  34. object AddingSendMail(log4net.ILog log, SendMail mail);
  35. object EditingSendMail(log4net.ILog log, SendMail mail);
  36. object DeleteStructure(log4net.ILog log, String tableType, String id);
  37. object AddConnConfig(log4net.ILog log, ConnConfig connConfig);
  38. object EditConnConfig(log4net.ILog log, ConnConfig connConfig);
  39. object Login(log4net.ILog log, String account, String password);
  40. }
  41. }