source: FarmatikoData/FarmatikoRepoInterfaces/IMedicineRepository.cs@ 5d02859

Last change on this file since 5d02859 was c406ae5, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Update Models, Repos, Services and Controllers

  • Property mode set to 100644
File size: 395 bytes
Line 
1using FarmatikoData.Models;
2using System.Linq;
3
4namespace FarmatikoData.FarmatikoRepoInterfaces
5{
6 public interface IMedicineRepository
7 {
8 IQueryable<Medicine> GetAll();
9 IQueryable<Medicine> GetByName(string Name);
10 void Add(Medicine medicine);
11 void Remove(Medicine medicine);
12 IQueryable<Medicine> GetByManufacturer(string Manufacturer);
13
14 }
15}
Note: See TracBrowser for help on using the repository browser.