source: FarmatikoServices/FarmatikoServiceInterfaces/IMedicineService.cs@ 63d885e

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

Update Models, Repos, Services and Controllers

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