Changeset a55ef91 for FarmatikoServices/FarmatikoServiceInterfaces
- Timestamp:
- 07/31/20 10:15:02 (4 years ago)
- Branches:
- master
- Children:
- d8fafb8
- Parents:
- 4e72684
- Location:
- FarmatikoServices/FarmatikoServiceInterfaces
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoServices/FarmatikoServiceInterfaces/IHealthFacilityService.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 … … 8 6 public interface IHealthFacilityService 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 } -
FarmatikoServices/FarmatikoServiceInterfaces/IHealthcareWorkerService.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 FarmatikoServices.FarmatikoServiceInterfaces … … 8 6 public interface IHealthcareWorkerService 9 7 { 10 I Enumerable<HealthcareWorkers> GetAll();8 IQueryable<HealthcareWorkers> GetAll(); 11 9 void Add(HealthcareWorkers healthcareWorker); 12 //Not needed 13 /*void Remove(HealthcareWorkers healthcareWorker);*/ 10 void Remove(HealthcareWorkers healthcareWorker); 14 11 } 15 12 } -
FarmatikoServices/FarmatikoServiceInterfaces/IMedicineListService.cs
r4e72684 ra55ef91 1 1 using FarmatikoData.Models; 2 2 using System.Collections.Generic; 3 using System.Linq; 3 4 4 5 namespace FarmatikoServices.FarmatikoServiceInterfaces … … 6 7 public interface IMedicineListService 7 8 { 8 I Enumerable<MedicineList> GetAll();9 boolSetHasMedicine(MedicineList medicineList, bool HasMedicine);9 IQueryable<MedicineList> GetAll(); 10 //SetHasMedicine(MedicineList medicineList, bool HasMedicine); 10 11 ICollection<MedicineList> GetByName(string Name); 11 12 ICollection<MedicineList> GetByManufacturer(string Manufacturer); 13 void Add(MedicineList medicineList); 14 void Remove(MedicineList medicineList); 12 15 } 13 16 } -
FarmatikoServices/FarmatikoServiceInterfaces/IMedicineService.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 FarmatikoServices.FarmatikoServiceInterfaces … … 8 6 public interface IMedicineService 9 7 { 10 I Enumerable<Medicine> GetAll();8 IQueryable<Medicine> GetAll(); 11 9 void Add(Medicine medicine); 12 10 void Remove(string Medicine); 13 I Enumerable<Medicine> GetByName(string Name);14 I Enumerable<Medicine> GetByManufacturer(string Manufacturer);11 IQueryable<Medicine> GetByName(string Name); 12 IQueryable<Medicine> GetByManufacturer(string Manufacturer); 15 13 } 16 14 } -
FarmatikoServices/FarmatikoServiceInterfaces/IPandemicService.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 FarmatikoServices.FarmatikoServiceInterfaces … … 9 7 { 10 8 void Add(Pandemic pandemic); 11 I Enumerable<Pandemic> GetAll();9 IQueryable<Pandemic> GetAll(); 12 10 void Remove(Pandemic pandemic); 13 11 } -
FarmatikoServices/FarmatikoServiceInterfaces/IPharmacyHeadService.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 FarmatikoServices.FarmatikoServiceInterfaces -
FarmatikoServices/FarmatikoServiceInterfaces/IPharmacyService.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 FarmatikoServices.FarmatikoServiceInterfaces … … 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.