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

Update & add service

Location:
FarmatikoServices/FarmatikoServiceInterfaces
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoServices/FarmatikoServiceInterfaces/IHealthFacilityService.cs

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

    r4e72684 ra55ef91  
    11using FarmatikoData.Models;
    2 using System;
    3 using System.Collections.Generic;
    4 using System.Text;
     2using System.Linq;
    53
    64namespace FarmatikoServices.FarmatikoServiceInterfaces
     
    86    public interface IHealthcareWorkerService
    97    {
    10         IEnumerable<HealthcareWorkers> GetAll();
     8        IQueryable<HealthcareWorkers> GetAll();
    119        void Add(HealthcareWorkers healthcareWorker);
    12         //Not needed
    13         /*void Remove(HealthcareWorkers healthcareWorker);*/
     10        void Remove(HealthcareWorkers healthcareWorker);
    1411    }
    1512}
  • FarmatikoServices/FarmatikoServiceInterfaces/IMedicineListService.cs

    r4e72684 ra55ef91  
    11using FarmatikoData.Models;
    22using System.Collections.Generic;
     3using System.Linq;
    34
    45namespace FarmatikoServices.FarmatikoServiceInterfaces
     
    67    public interface IMedicineListService
    78    {
    8         IEnumerable<MedicineList> GetAll();
    9         bool SetHasMedicine(MedicineList medicineList, bool HasMedicine);
     9        IQueryable<MedicineList> GetAll();
     10        //SetHasMedicine(MedicineList medicineList, bool HasMedicine);
    1011        ICollection<MedicineList> GetByName(string Name);
    1112        ICollection<MedicineList> GetByManufacturer(string Manufacturer);
     13        void Add(MedicineList medicineList);
     14        void Remove(MedicineList medicineList);
    1215    }
    1316}
  • FarmatikoServices/FarmatikoServiceInterfaces/IMedicineService.cs

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

    r4e72684 ra55ef91  
    11using FarmatikoData.Models;
    2 using System;
    3 using System.Collections.Generic;
    4 using System.Text;
     2using System.Linq;
    53
    64namespace FarmatikoServices.FarmatikoServiceInterfaces
     
    97    {
    108        void Add(Pandemic pandemic);
    11         IEnumerable<Pandemic> GetAll();
     9        IQueryable<Pandemic> GetAll();
    1210        void Remove(Pandemic pandemic);
    1311    }
  • FarmatikoServices/FarmatikoServiceInterfaces/IPharmacyHeadService.cs

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

    r4e72684 ra55ef91  
    11using FarmatikoData.Models;
    2 using System;
    32using System.Collections.Generic;
    4 using System.Text;
     3using System.Linq;
    54
    65namespace FarmatikoServices.FarmatikoServiceInterfaces
     
    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.