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:
FarmatikoData/FarmatikoRepoInterfaces
Files:
2 added
7 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoData/FarmatikoRepoInterfaces/IRepository.cs

    r5d02859 r1454207  
    11using FarmatikoData.Models;
     2using System;
     3using System.Collections.Generic;
    24using System.Linq;
     5using System.Text;
    36using System.Threading.Tasks;
    47
     
    811    {
    912        //GET
    10         Task<IQueryable<HealthcareWorkers>> GetAllWorkers();
    11         Task<IQueryable<HealthFacilities>> GetFacilities();
    12         Task<HealthFacilities> GetFacility(int Id);
     13        Task<IQueryable<HealthcareWorker>> GetAllWorkers();
     14        Task<IQueryable<HealthFacility>> GetFacilities();
     15        Task<HealthFacility> GetFacility(int Id);
    1316        Task<Medicine> GetMedicine(int Id);
    1417        Task<IQueryable<Medicine>> GetMedicines();
     
    1619        Task<IQueryable<Pharmacy>> GetPharmacies();
    1720        Task<Pharmacy> GetPharmacy(int id);
    18         Task<HealthcareWorkers> GetWorker(int id);
    19         Task<IQueryable<HealthFacilities>> SearchFacilities(string query);
     21        Task<HealthcareWorker> GetWorker(int id);
     22        Task<IQueryable<HealthFacility>> SearchFacilities(string query);
    2023        Task<IQueryable<Medicine>> SearchMedicines(string query);
    2124        Task<IQueryable<Pharmacy>> SearchPharmacies(string query);
    22         Task<IQueryable<HealthcareWorkers>> SearchWorkers(string query);
     25        Task<IQueryable<HealthcareWorker>> SearchWorkers(string query);
     26        Task<HealthFacility> GetFacilityJSON(string healthFacility);
     27
    2328        //POST
    24         Task AddWorker(HealthcareWorkers worker);
    25         Task AddFacility(HealthFacilities healthFacilities);
     29        Task AddWorker(HealthcareWorker Worker);
     30        Task AddFacility(HealthFacility healthFacility);
    2631        Task AddPharmacy(Pharmacy pharmacy);
    2732        Task AddPharmacyHead(PharmacyHead pharmacyHead);
    2833        Task AddMedicines(Medicine medicine);
    2934        Task AddPandemic(Pandemic pandemic);
     35        Task UpdateFacility(HealthFacility healthFacility);
     36        Task RemoveMedicine(Medicine medicine);
     37        Task UpdatePandemic(Pandemic pandemic);
     38        Task RemovePharmacy(Pharmacy pharmacy);
     39        Task UpdateWorker(HealthcareWorker worker);
     40        Task UpadatePharmacy(Pharmacy pharmacy);
     41        Task UpdateMedicine(Medicine medicine);
     42        Task RemovePharmacyHead(PharmacyHead pharmacyHead);
    3043    }
    3144}
Note: See TracChangeset for help on using the changeset viewer.