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

Update & add service

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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}
Note: See TracChangeset for help on using the changeset viewer.