Ignore:
Timestamp:
02/08/21 16:39:25 (4 years ago)
Author:
Dimitar Slezenkovski <dslezenkovski@…>
Branches:
master
Children:
8eb1e21, dae4cde
Parents:
0a694bb
Message:

Fix all bugs

Location:
FarmatikoServices/FarmatikoServiceInterfaces
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoServices/FarmatikoServiceInterfaces/IAdminService.cs

    r0a694bb re0cdea2  
    1212        Task<IEnumerable<PharmacyHead>> GetPharmacyHeads();
    1313        Task<IEnumerable<RequestPharmacyHead>> GetClaimingRequests();
    14         bool RejectRequest(int Id);
     14        bool RejectRequest(RequestPharmacyHead req);
    1515    }
    1616}
  • FarmatikoServices/FarmatikoServiceInterfaces/IService.cs

    r0a694bb re0cdea2  
    1818        HealthFacility GetFacilityJSON(string healthFacility);
    1919        Task<Medicine> GetMedicine(int id);
    20         Task<IEnumerable<Medicine>> SearchMedicines(string query);
     20        Task<IEnumerable<MedicineDTO>> SearchMedicines(string query);
    2121        Task<List<MedicineDTO>> GetMedicines();
    22         Task<Pandemic> GetPandemic();
     22        Pandemic GetPandemic();
    2323        Task<List<PharmacyDTO>> GetPharmacies();
    24         Task<IEnumerable<Pharmacy>> SearchPharmacies(string query);
     24        Task<IEnumerable<PharmacyDTO>> SearchPharmacies(string query);
    2525        Task<Pharmacy> GetPharmacy(int id);
    2626        //POST
    2727        Task AddWorker(HealthcareWorker worker);
    2828        Task AddFacility(HealthFacility healthFacilities);
    29         Task AddPharmacy(Pharmacy pharmacy);
     29        void AddPharmacy(Pharmacy pharmacy);
    3030        Task<bool> AddPharmacyHead(PharmacyHeadDto pharmacyHead);
    3131        Task AddMedicines(Medicine medicine);
Note: See TracChangeset for help on using the changeset viewer.