Ignore:
Timestamp:
07/29/20 13:21:48 (4 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
de18858
Parents:
ef1219a
Message:

Add more services

Location:
FarmatikoData/FarmatikoRepoInterfaces
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • FarmatikoData/FarmatikoRepoInterfaces/IHealthFacilityRepository.cs

    ref1219a re42f61a  
    99    {
    1010        IEnumerable<HealthFacilities> GetAll();
    11         IEnumerable<HealthFacilities> GetByType(string Type);
    1211        void Add(HealthFacilities healthFacility);
    13         IEnumerable<HealthFacilities> GetAllByName(string Name);
    1412    }
    1513}
  • FarmatikoData/FarmatikoRepoInterfaces/IHealthcareWorkerRepository.cs

    ref1219a re42f61a  
    66namespace FarmatikoData.FarmatikoRepoInterfaces
    77{
    8     public interface IHealthcareWorkersRepository
     8    public interface IHealthcareWorkerRepository
    99    {
    1010        IEnumerable<HealthcareWorkers> GetAll();
    11         HealthcareWorkers GetByName(string Name);
    12         ICollection<HealthcareWorkers> GetByBranch(string Branch);
    13         ICollection<HealthcareWorkers> GetByFacility(HealthFacilities HealthFacility);
    1411        void Add(HealthcareWorkers HealthcareWorker);
    15 
     12        void Remove(HealthcareWorkers healthcareWorker);
    1613    }
    1714}
  • FarmatikoData/FarmatikoRepoInterfaces/IMedicineListRepository.cs

    ref1219a re42f61a  
    1010        void Add(MedicineList medicineList);
    1111        void Remove(MedicineList medicineList);
    12         MedicineList GetAll();
    13         MedicineList CheckMedicine(string Name);
     12        ICollection<MedicineList> GetAll();
     13        //Not needed, maybe later
     14        /*MedicineList CheckMedicine(MedicineList medicineList, bool HasMedicine);
     15         public MedicineList CheckMedicine(string Name);*/
     16        ICollection<MedicineList> GetByName(string Name);
     17        ICollection<MedicineList> GetByManufacturer(string Manufacturer);
     18        void SetHasMedicine(MedicineList medicineList, bool HasMedicine);
    1419    }
    1520}
  • FarmatikoData/FarmatikoRepoInterfaces/IMedicineRepository.cs

    ref1219a re42f61a  
    99    {
    1010        IEnumerable<Medicine> GetAll();
    11         Medicine GetByName(string Name);
     11        IEnumerable<Medicine> GetByName(string Name);
    1212        void Add(Medicine medicine);
    1313        void Remove(string medicine);
     14        IEnumerable<Medicine> GetByManufacturer(string Manufacturer);
    1415
    1516    }
Note: See TracChangeset for help on using the changeset viewer.