Changeset 6f203af for FarmatikoData/FarmatikoRepoInterfaces
- Timestamp:
- 10/28/20 22:06:48 (4 years ago)
- Branches:
- master
- Children:
- 993189e
- Parents:
- 1454207
- Location:
- FarmatikoData/FarmatikoRepoInterfaces
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/FarmatikoRepoInterfaces/IAdminRepo.cs
r1454207 r6f203af 10 10 public interface IAdminRepo 11 11 { 12 Task<I Queryable<RequestPharmacyHead>> GetClaimingRequests();13 Task<I Queryable<PharmacyHead>> GetPharmacyHeads();14 TaskRemoveClaimRequest(RequestPharmacyHead req);12 Task<IEnumerable<RequestPharmacyHead>> GetClaimingRequests(); 13 Task<IEnumerable<PharmacyHead>> GetPharmacyHeads(); 14 void RemoveClaimRequest(RequestPharmacyHead req); 15 15 } 16 16 } -
FarmatikoData/FarmatikoRepoInterfaces/IPHRepo.cs
r1454207 r6f203af 11 11 { 12 12 Task ClaimPharmacy(RequestPharmacyHead pharmacy); 13 Task<PharmacyHead> GetPharmacyHead(PharmacyHead pharmacyHead); 14 Task<IQueryable<PharmacyHead>> GetPharmacyHeadInfo(); 13 Task<IEnumerable<PharmacyHead>> GetPharmacyHeadInfo(); 15 14 Task UpdatePharmacyHead(PharmacyHead pharmacyHead); 15 Task<PharmacyHead> GetPharmacyHeadByIdAsync(int id); 16 Task Add(PharmacyHead pharmacyHead); 17 Task Remove(PharmacyHead phead); 18 Task RemoveClaimingRequest(int id); 16 19 } 17 20 } -
FarmatikoData/FarmatikoRepoInterfaces/IRepository.cs
r1454207 r6f203af 11 11 { 12 12 //GET 13 Task<I Queryable<HealthcareWorker>> GetAllWorkers();14 Task<I Queryable<HealthFacility>> GetFacilities();13 Task<IEnumerable<HealthcareWorker>> GetAllWorkers(); 14 Task<IEnumerable<HealthFacility>> GetFacilities(); 15 15 Task<HealthFacility> GetFacility(int Id); 16 16 Task<Medicine> GetMedicine(int Id); 17 Task<I Queryable<Medicine>> GetMedicines();17 Task<IEnumerable<Medicine>> GetMedicines(); 18 18 Task<Pandemic> GetPandemic(); 19 Task<I Queryable<Pharmacy>> GetPharmacies();19 Task<IEnumerable<Pharmacy>> GetPharmacies(); 20 20 Task<Pharmacy> GetPharmacy(int id); 21 21 Task<HealthcareWorker> GetWorker(int id); 22 Task<I Queryable<HealthFacility>> SearchFacilities(string query);23 Task<I Queryable<Medicine>> SearchMedicines(string query);24 Task<I Queryable<Pharmacy>> SearchPharmacies(string query);25 Task<I Queryable<HealthcareWorker>> SearchWorkers(string query);22 Task<IEnumerable<HealthFacility>> SearchFacilities(string query); 23 Task<IEnumerable<Medicine>> SearchMedicines(string query); 24 Task<IEnumerable<Pharmacy>> SearchPharmacies(string query); 25 Task<IEnumerable<HealthcareWorker>> SearchWorkers(string query); 26 26 Task<HealthFacility> GetFacilityJSON(string healthFacility); 27 27 … … 40 40 Task UpadatePharmacy(Pharmacy pharmacy); 41 41 Task UpdateMedicine(Medicine medicine); 42 Task RemovePharmacyHead( PharmacyHead pharmacyHead);42 Task RemovePharmacyHead(int Id); 43 43 } 44 44 }
Note:
See TracChangeset
for help on using the changeset viewer.