PWA Fundvelo der Caritas.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IBicycleRestService.cs 1.0KB

1234567891011121314151617181920212223242526272829303132333435
  1. using cwebplusApp.Shared.Models;
  2. using Microsoft.Extensions.Configuration;
  3. using System.Collections.Generic;
  4. using System.Threading.Tasks;
  5. namespace cwebplusApp.Shared.Services {
  6. public interface IBicycleRestService {
  7. void Initialize(IConfiguration configuration);
  8. Task<List<ColorItem>> GetColors();
  9. Task<List<BicycleType>> GetBicycleTypes();
  10. Task<List<Brand>> GetBrands();
  11. Task<List<SearchService>> GetSearchServices();
  12. Task<List<ZipCity>> GetZipCities();
  13. Task<ReportResponse> SendFoundReport(Report report);
  14. Task<ReportResponse> SendFoundReport(FoundReportRepositoryItem reportRepositoryItem);
  15. Task<ReportResponse> SendMissingReport(Report report);
  16. Task<ReportResponse> SendMissingReport(MissingReportRepositoryItem reportRepositoryItem);
  17. Task<int> TrySendPendingReports();
  18. Task<int> TrySendFoundPendingReports();
  19. Task<int> TrySendMissingPendingReports();
  20. }
  21. }