Ignore:
Timestamp:
10/01/20 03:17:09 (4 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
6f203af
Parents:
5d02859
Message:

Change structure, Add repo, services & controllers

Location:
FarmatikoServices/FarmatikoServiceInterfaces
Files:
2 added
7 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoServices/FarmatikoServiceInterfaces/IProcessJSONService.cs

    r5d02859 r1454207  
    99    public interface IProcessJSONService
    1010    {
    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();
    1516    }
    1617}
  • FarmatikoServices/FarmatikoServiceInterfaces/IService.cs

    r5d02859 r1454207  
    88    {
    99        //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);
    1617        Task<Medicine> GetMedicine(int id);
    1718        Task<IQueryable<Medicine>> SearchMedicines(string query);
     
    2223        Task<Pharmacy> GetPharmacy(int id);
    2324        //POST
    24         Task AddWorker(HealthcareWorkers worker);
    25         Task AddFacility(HealthFacilities healthFacilities);
     25        Task AddWorker(HealthcareWorker worker);
     26        Task AddFacility(HealthFacility healthFacilities);
    2627        Task AddPharmacy(Pharmacy pharmacy);
    2728        Task AddPharmacyHead(PharmacyHead pharmacyHead);
    2829        Task AddMedicines(Medicine medicine);
    2930        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);
    3038    }
    3139}
Note: See TracChangeset for help on using the changeset viewer.