Changeset a55ef91 for FarmatikoData/FarmatikoRepoInterfaces
- Timestamp:
- 07/31/20 10:15:02 (4 years ago)
- Branches:
- master
- Children:
- d8fafb8
- Parents:
- 4e72684
- Location:
- FarmatikoData/FarmatikoRepoInterfaces
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/FarmatikoRepoInterfaces/IHealthFacilityRepository.cs
r4e72684 ra55ef91 1 1 using FarmatikoData.Models; 2 using System; 3 using System.Collections.Generic; 4 using System.Text; 2 using System.Linq; 5 3 6 4 namespace FarmatikoData.FarmatikoRepoInterfaces … … 8 6 public interface IHealthFacilityRepository 9 7 { 10 I Enumerable<HealthFacilities> GetAll();8 IQueryable<HealthFacilities> GetAll(); 11 9 void Add(HealthFacilities healthFacility); 10 void Remove(HealthFacilities healthFacility); 12 11 } 13 12 } -
FarmatikoData/FarmatikoRepoInterfaces/IHealthcareWorkerRepository.cs
r4e72684 ra55ef91 1 1 using FarmatikoData.Models; 2 using System; 3 using System.Collections.Generic; 4 using System.Text; 2 using System.Linq; 5 3 6 4 namespace FarmatikoData.FarmatikoRepoInterfaces … … 8 6 public interface IHealthcareWorkerRepository 9 7 { 10 I Enumerable<HealthcareWorkers> GetAll();8 IQueryable<HealthcareWorkers> GetAll(); 11 9 void Add(HealthcareWorkers HealthcareWorker); 12 10 void Remove(HealthcareWorkers healthcareWorker); -
FarmatikoData/FarmatikoRepoInterfaces/IMedicineListRepository.cs
r4e72684 ra55ef91 1 1 using FarmatikoData.Models; 2 2 using System.Collections.Generic; 3 using System.Linq; 3 4 4 5 namespace FarmatikoData.FarmatikoRepo … … 8 9 void Add(MedicineList medicineList); 9 10 void Remove(MedicineList medicineList); 10 IEnumerable<MedicineList> GetAll(); 11 //Not needed, maybe later 12 /*MedicineList CheckMedicine(MedicineList medicineList, bool HasMedicine); 13 public MedicineList CheckMedicine(string Name);*/ 11 IQueryable<MedicineList> GetAll(); 12 /*MedicineList CheckMedicine(MedicineList medicineList, bool HasMedicine);*/ 13 //public MedicineList CheckMedicine(string Name); 14 14 ICollection<MedicineList> GetByName(string Name); 15 15 ICollection<MedicineList> GetByManufacturer(string Manufacturer); 16 bool SetHasMedicine(MedicineList medicineList, bool HasMedicine); 16 //bool SetHasMedicine(MedicineList medicineList, bool HasMedicine); 17 //void SetHasMedicine(MedicineList medicineList); 17 18 } 18 19 } -
FarmatikoData/FarmatikoRepoInterfaces/IMedicineRepository.cs
r4e72684 ra55ef91 1 1 using FarmatikoData.Models; 2 using System; 3 using System.Collections.Generic; 4 using System.Text; 2 using System.Linq; 5 3 6 4 namespace FarmatikoData.FarmatikoRepoInterfaces … … 8 6 public interface IMedicineRepository 9 7 { 10 I Enumerable<Medicine> GetAll();11 I Enumerable<Medicine> GetByName(string Name);8 IQueryable<Medicine> GetAll(); 9 IQueryable<Medicine> GetByName(string Name); 12 10 void Add(Medicine medicine); 13 11 void Remove(string medicine); 14 I Enumerable<Medicine> GetByManufacturer(string Manufacturer);12 IQueryable<Medicine> GetByManufacturer(string Manufacturer); 15 13 16 14 } -
FarmatikoData/FarmatikoRepoInterfaces/IPandemicRepository.cs
r4e72684 ra55ef91 1 1 using FarmatikoData.Models; 2 using System; 3 using System.Collections.Generic; 4 using System.Text; 2 using System.Linq; 5 3 6 4 namespace FarmatikoData.FarmatikoRepoInterfaces … … 8 6 public interface IPandemicRepository 9 7 { 10 I Enumerable<Pandemic> GetAll();8 IQueryable<Pandemic> GetAll(); 11 9 void Add(Pandemic pandemic); 12 10 void Remove(Pandemic pandemic); -
FarmatikoData/FarmatikoRepoInterfaces/IPharmacyHeadRepository.cs
r4e72684 ra55ef91 1 1 using FarmatikoData.Models; 2 using System;3 using System.Collections.Generic;4 2 using System.Linq; 5 using System.Text;6 3 7 4 namespace FarmatikoData.FarmatikoRepoInterfaces -
FarmatikoData/FarmatikoRepoInterfaces/IPharmacyRepository.cs
r4e72684 ra55ef91 1 1 using FarmatikoData.Models; 2 using System;3 2 using System.Collections.Generic; 4 using System. Text;3 using System.Linq; 5 4 6 5 namespace FarmatikoData.FarmatikoRepoInterfaces … … 10 9 void Add(Pharmacy pharmacy); 11 10 ICollection<Pharmacy> GetPharmacies(); 12 I Enumerable<Pharmacy> GetAll();11 IQueryable<Pharmacy> GetAll(); 13 12 void Remove(Pharmacy pharmacy); 14 13 void UpdatePharmacy(Pharmacy pharmacy, string Name);
Note:
See TracChangeset
for help on using the changeset viewer.