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