Changeset e42f61a for FarmatikoData/FarmatikoRepoInterfaces
- Timestamp:
- 07/29/20 13:21:48 (4 years ago)
- Branches:
- master
- Children:
- de18858
- Parents:
- ef1219a
- Location:
- FarmatikoData/FarmatikoRepoInterfaces
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/FarmatikoRepoInterfaces/IHealthFacilityRepository.cs
ref1219a re42f61a 9 9 { 10 10 IEnumerable<HealthFacilities> GetAll(); 11 IEnumerable<HealthFacilities> GetByType(string Type);12 11 void Add(HealthFacilities healthFacility); 13 IEnumerable<HealthFacilities> GetAllByName(string Name);14 12 } 15 13 } -
FarmatikoData/FarmatikoRepoInterfaces/IHealthcareWorkerRepository.cs
ref1219a re42f61a 6 6 namespace FarmatikoData.FarmatikoRepoInterfaces 7 7 { 8 public interface IHealthcareWorker sRepository8 public interface IHealthcareWorkerRepository 9 9 { 10 10 IEnumerable<HealthcareWorkers> GetAll(); 11 HealthcareWorkers GetByName(string Name);12 ICollection<HealthcareWorkers> GetByBranch(string Branch);13 ICollection<HealthcareWorkers> GetByFacility(HealthFacilities HealthFacility);14 11 void Add(HealthcareWorkers HealthcareWorker); 15 12 void Remove(HealthcareWorkers healthcareWorker); 16 13 } 17 14 } -
FarmatikoData/FarmatikoRepoInterfaces/IMedicineListRepository.cs
ref1219a re42f61a 10 10 void Add(MedicineList medicineList); 11 11 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); 14 19 } 15 20 } -
FarmatikoData/FarmatikoRepoInterfaces/IMedicineRepository.cs
ref1219a re42f61a 9 9 { 10 10 IEnumerable<Medicine> GetAll(); 11 MedicineGetByName(string Name);11 IEnumerable<Medicine> GetByName(string Name); 12 12 void Add(Medicine medicine); 13 13 void Remove(string medicine); 14 IEnumerable<Medicine> GetByManufacturer(string Manufacturer); 14 15 15 16 }
Note:
See TracChangeset
for help on using the changeset viewer.