Changeset 1454207 for FarmatikoServices/FarmatikoServiceInterfaces
- Timestamp:
- 10/01/20 03:17:09 (4 years ago)
- Branches:
- master
- Children:
- 6f203af
- Parents:
- 5d02859
- Location:
- FarmatikoServices/FarmatikoServiceInterfaces
- Files:
-
- 2 added
- 7 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoServices/FarmatikoServiceInterfaces/IProcessJSONService.cs
r5d02859 r1454207 9 9 public interface IProcessJSONService 10 10 { 11 Task<HashSet<HealthFacilities>> GetProcessedHealthFacilitiesFromJSON(); 12 Task<HashSet<Pandemic>> GetProcessedPandemicsFromJSONApi(); 13 Task<HashSet<HealthcareWorkers>> GetProcessedHealthcareWorkersFromJSON(); 14 Task<HashSet<Medicine>> GetProcessedMedicinesFromJSON(); 11 Task<HealthFacility> GetProcessedHealthFacilitiesFromJSON(); 12 Task<Pandemic> GetProcessedPandemicsFromJSONApi(); 13 Task<HealthcareWorker> GetProcessedHealthcareWorkersFromJSON(); 14 Task<Medicine> GetProcessedMedicinesFromJSON(); 15 Task<Medicine> ReadPharmaciesFromExcel(); 15 16 } 16 17 } -
FarmatikoServices/FarmatikoServiceInterfaces/IService.cs
r5d02859 r1454207 8 8 { 9 9 //GET 10 Task<IQueryable<HealthcareWorkers>> GetAllWorkers(); 11 Task<IQueryable<HealthcareWorkers>> SearchWorkers(string query); 12 Task<HealthcareWorkers> GetWorker(int id); 13 Task<IQueryable<HealthFacilities>> GetFacilities(); 14 Task<IQueryable<HealthFacilities>> SearchFacilities(string query); 15 Task<HealthFacilities> GetFacility(int id); 10 Task<IQueryable<HealthcareWorker>> GetAllWorkers(); 11 Task<IQueryable<HealthcareWorker>> SearchWorkers(string query); 12 Task<HealthcareWorker> GetWorker(int id); 13 Task<IQueryable<HealthFacility>> GetFacilities(); 14 Task<IQueryable<HealthFacility>> SearchFacilities(string query); 15 Task<HealthFacility> GetFacility(int id); 16 Task<HealthFacility> GetFacilityJSON(string healthFacility); 16 17 Task<Medicine> GetMedicine(int id); 17 18 Task<IQueryable<Medicine>> SearchMedicines(string query); … … 22 23 Task<Pharmacy> GetPharmacy(int id); 23 24 //POST 24 Task AddWorker(HealthcareWorker sworker);25 Task AddFacility(HealthFacilit ieshealthFacilities);25 Task AddWorker(HealthcareWorker worker); 26 Task AddFacility(HealthFacility healthFacilities); 26 27 Task AddPharmacy(Pharmacy pharmacy); 27 28 Task AddPharmacyHead(PharmacyHead pharmacyHead); 28 29 Task AddMedicines(Medicine medicine); 29 30 Task AddPandemic(Pandemic pandemic); 31 Task UpdateFacility(HealthFacility healthFacilities); 32 Task RemoveMedicine(Medicine medicine); 33 Task RemovePharmacyHead(PharmacyHead pharmacyHead); 34 Task UpdatePandemic(Pandemic pandemic); 35 Task RemovePharmacy(Pharmacy pharmacy); 36 Task UpdateWorker(HealthcareWorker worker); 37 Task UpdatePharmacy(Pharmacy pharmacy); 30 38 } 31 39 }
Note:
See TracChangeset
for help on using the changeset viewer.