Last change
on this file since c406ae5 was c406ae5, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Update Models, Repos, Services and Controllers
|
-
Property mode
set to
100644
|
File size:
585 bytes
|
Rev | Line | |
---|
[e42f61a] | 1 | using FarmatikoData.Models;
|
---|
| 2 | using System.Collections.Generic;
|
---|
[a55ef91] | 3 | using System.Linq;
|
---|
[c406ae5] | 4 | using System.Threading.Tasks;
|
---|
[e42f61a] | 5 |
|
---|
| 6 | namespace FarmatikoServices.FarmatikoServiceInterfaces
|
---|
| 7 | {
|
---|
| 8 | public interface IMedicineListService
|
---|
| 9 | {
|
---|
[c406ae5] | 10 | Task<IQueryable<MedicineList>> GetAll();
|
---|
[a55ef91] | 11 | //SetHasMedicine(MedicineList medicineList, bool HasMedicine);
|
---|
[c406ae5] | 12 | Task<ICollection<MedicineList>> GetByName(string Name);
|
---|
| 13 | Task<ICollection<MedicineList>> GetByManufacturer(string Manufacturer);
|
---|
[a55ef91] | 14 | void Add(MedicineList medicineList);
|
---|
| 15 | void Remove(MedicineList medicineList);
|
---|
[e42f61a] | 16 | }
|
---|
| 17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.