Changeset 4e72684 for FarmatikoData/FarmatikoRepoInterfaces
- Timestamp:
- 07/29/20 20:02:58 (4 years ago)
- Branches:
- master
- Children:
- a55ef91
- Parents:
- de18858
- Location:
- FarmatikoData/FarmatikoRepoInterfaces
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/FarmatikoRepoInterfaces/IMedicineListRepository.cs
rde18858 r4e72684 1 1 using FarmatikoData.Models; 2 using System;3 2 using System.Collections.Generic; 4 using System.Text;5 3 6 4 namespace FarmatikoData.FarmatikoRepo … … 10 8 void Add(MedicineList medicineList); 11 9 void Remove(MedicineList medicineList); 12 I Collection<MedicineList> GetAll();10 IEnumerable<MedicineList> GetAll(); 13 11 //Not needed, maybe later 14 12 /*MedicineList CheckMedicine(MedicineList medicineList, bool HasMedicine); … … 16 14 ICollection<MedicineList> GetByName(string Name); 17 15 ICollection<MedicineList> GetByManufacturer(string Manufacturer); 18 voidSetHasMedicine(MedicineList medicineList, bool HasMedicine);16 bool SetHasMedicine(MedicineList medicineList, bool HasMedicine); 19 17 } 20 18 } -
FarmatikoData/FarmatikoRepoInterfaces/IPharmacyHeadRepository.cs
rde18858 r4e72684 2 2 using System; 3 3 using System.Collections.Generic; 4 using System.Linq; 4 5 using System.Text; 5 6 … … 10 11 void Add(PharmacyHead pharmacyHead); 11 12 void Remove(PharmacyHead pharmacyHead, string Name); 12 I Collection<PharmacyHead> GetAllPharmacies(string NameOfPharmacyHead);13 IQueryable<PharmacyHead> GetAllPharmacies(string NameOfPharmacyHead); 13 14 //Not actually needed 14 IEnumerable<PharmacyHead> GetPharmacyByName(string Name); 15 IQueryable<PharmacyHead> GetPharmacyByName(string Name); 16 IQueryable<MedicineList> GetPharmacyMedicines(string NameOfPharmacy); 15 17 } 16 18 } -
FarmatikoData/FarmatikoRepoInterfaces/IPharmacyRepository.cs
rde18858 r4e72684 10 10 void Add(Pharmacy pharmacy); 11 11 ICollection<Pharmacy> GetPharmacies(); 12 IEnumerable<Pharmacy> GetAll(); 12 13 void Remove(Pharmacy pharmacy); 13 14 void UpdatePharmacy(Pharmacy pharmacy, string Name);
Note:
See TracChangeset
for help on using the changeset viewer.