Ignore:
Timestamp:
07/31/20 10:15:02 (2 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
d8fafb8
Parents:
4e72684
Message:

Update & add service

Location:
FarmatikoData/FarmatikoRepoInterfaces
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoData/FarmatikoRepoInterfaces/IHealthFacilityRepository.cs

    r4e72684 ra55ef91  
    11using FarmatikoData.Models;
    2 using System;
    3 using System.Collections.Generic;
    4 using System.Text;
     2using System.Linq;
    53
    64namespace FarmatikoData.FarmatikoRepoInterfaces
     
    86    public interface IHealthFacilityRepository
    97    {
    10         IEnumerable<HealthFacilities> GetAll();
     8        IQueryable<HealthFacilities> GetAll();
    119        void Add(HealthFacilities healthFacility);
     10        void Remove(HealthFacilities healthFacility);
    1211    }
    1312}
  • FarmatikoData/FarmatikoRepoInterfaces/IHealthcareWorkerRepository.cs

    r4e72684 ra55ef91  
    11using FarmatikoData.Models;
    2 using System;
    3 using System.Collections.Generic;
    4 using System.Text;
     2using System.Linq;
    53
    64namespace FarmatikoData.FarmatikoRepoInterfaces
     
    86    public interface IHealthcareWorkerRepository
    97    {
    10         IEnumerable<HealthcareWorkers> GetAll();
     8        IQueryable<HealthcareWorkers> GetAll();
    119        void Add(HealthcareWorkers HealthcareWorker);
    1210        void Remove(HealthcareWorkers healthcareWorker);
  • FarmatikoData/FarmatikoRepoInterfaces/IMedicineListRepository.cs

    r4e72684 ra55ef91  
    11using FarmatikoData.Models;
    22using System.Collections.Generic;
     3using System.Linq;
    34
    45namespace FarmatikoData.FarmatikoRepo
     
    89        void Add(MedicineList medicineList);
    910        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);
    1414        ICollection<MedicineList> GetByName(string Name);
    1515        ICollection<MedicineList> GetByManufacturer(string Manufacturer);
    16         bool SetHasMedicine(MedicineList medicineList, bool HasMedicine);
     16        //bool SetHasMedicine(MedicineList medicineList, bool HasMedicine);
     17        //void SetHasMedicine(MedicineList medicineList);       
    1718    }
    1819}
  • FarmatikoData/FarmatikoRepoInterfaces/IMedicineRepository.cs

    r4e72684 ra55ef91  
    11using FarmatikoData.Models;
    2 using System;
    3 using System.Collections.Generic;
    4 using System.Text;
     2using System.Linq;
    53
    64namespace FarmatikoData.FarmatikoRepoInterfaces
     
    86    public interface IMedicineRepository
    97    {
    10         IEnumerable<Medicine> GetAll();
    11         IEnumerable<Medicine> GetByName(string Name);
     8        IQueryable<Medicine> GetAll();
     9        IQueryable<Medicine> GetByName(string Name);
    1210        void Add(Medicine medicine);
    1311        void Remove(string medicine);
    14         IEnumerable<Medicine> GetByManufacturer(string Manufacturer);
     12        IQueryable<Medicine> GetByManufacturer(string Manufacturer);
    1513
    1614    }
  • FarmatikoData/FarmatikoRepoInterfaces/IPandemicRepository.cs

    r4e72684 ra55ef91  
    11using FarmatikoData.Models;
    2 using System;
    3 using System.Collections.Generic;
    4 using System.Text;
     2using System.Linq;
    53
    64namespace FarmatikoData.FarmatikoRepoInterfaces
     
    86    public interface IPandemicRepository
    97    {
    10         IEnumerable<Pandemic> GetAll();
     8        IQueryable<Pandemic> GetAll();
    119        void Add(Pandemic pandemic);
    1210        void Remove(Pandemic pandemic);
  • FarmatikoData/FarmatikoRepoInterfaces/IPharmacyHeadRepository.cs

    r4e72684 ra55ef91  
    11using FarmatikoData.Models;
    2 using System;
    3 using System.Collections.Generic;
    42using System.Linq;
    5 using System.Text;
    63
    74namespace FarmatikoData.FarmatikoRepoInterfaces
  • FarmatikoData/FarmatikoRepoInterfaces/IPharmacyRepository.cs

    r4e72684 ra55ef91  
    11using FarmatikoData.Models;
    2 using System;
    32using System.Collections.Generic;
    4 using System.Text;
     3using System.Linq;
    54
    65namespace FarmatikoData.FarmatikoRepoInterfaces
     
    109        void Add(Pharmacy pharmacy);
    1110        ICollection<Pharmacy> GetPharmacies();
    12         IEnumerable<Pharmacy> GetAll();
     11        IQueryable<Pharmacy> GetAll();
    1312        void Remove(Pharmacy pharmacy);
    1413        void UpdatePharmacy(Pharmacy pharmacy, string Name);
Note: See TracChangeset for help on using the changeset viewer.