Last change
on this file since 4e72684 was 4e72684, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Add services
|
-
Property mode
set to
100644
|
File size:
684 bytes
|
Rev | Line | |
---|
[37c8d1d] | 1 | using FarmatikoData.Models;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 |
|
---|
| 4 | namespace FarmatikoData.FarmatikoRepo
|
---|
| 5 | {
|
---|
| 6 | public interface IMedicineListRepository
|
---|
| 7 | {
|
---|
| 8 | void Add(MedicineList medicineList);
|
---|
| 9 | void Remove(MedicineList medicineList);
|
---|
[4e72684] | 10 | IEnumerable<MedicineList> GetAll();
|
---|
[e42f61a] | 11 | //Not needed, maybe later
|
---|
| 12 | /*MedicineList CheckMedicine(MedicineList medicineList, bool HasMedicine);
|
---|
| 13 | public MedicineList CheckMedicine(string Name);*/
|
---|
| 14 | ICollection<MedicineList> GetByName(string Name);
|
---|
| 15 | ICollection<MedicineList> GetByManufacturer(string Manufacturer);
|
---|
[4e72684] | 16 | bool SetHasMedicine(MedicineList medicineList, bool HasMedicine);
|
---|
[37c8d1d] | 17 | }
|
---|
| 18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.