Last change
on this file since 58fa654 was a55ef91, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Update & add service
|
-
Property mode
set to
100644
|
File size:
393 bytes
|
Rev | Line | |
---|
[37c8d1d] | 1 | using FarmatikoData.Models;
|
---|
[a55ef91] | 2 | using System.Linq;
|
---|
[37c8d1d] | 3 |
|
---|
| 4 | namespace FarmatikoData.FarmatikoRepoInterfaces
|
---|
| 5 | {
|
---|
| 6 | public interface IMedicineRepository
|
---|
| 7 | {
|
---|
[a55ef91] | 8 | IQueryable<Medicine> GetAll();
|
---|
| 9 | IQueryable<Medicine> GetByName(string Name);
|
---|
[37c8d1d] | 10 | void Add(Medicine medicine);
|
---|
| 11 | void Remove(string medicine);
|
---|
[a55ef91] | 12 | IQueryable<Medicine> GetByManufacturer(string Manufacturer);
|
---|
[37c8d1d] | 13 |
|
---|
| 14 | }
|
---|
| 15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.