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 922B

12345678910111213141516171819202122232425262728293031
  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<ReportResponse> SendFoundReport(Report report);
  12. Task<ReportResponse> SendFoundReport(FoundReportRepositoryItem reportRepositoryItem);
  13. Task<ReportResponse> SendMissingReport(Report report);
  14. Task<ReportResponse> SendMissingReport(MissingReportRepositoryItem reportRepositoryItem);
  15. Task<int> TrySendPendingReports();
  16. Task<int> TrySendFoundPendingReports();
  17. Task<int> TrySendMissingPendingReports();
  18. }
  19. }