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

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

Update Models, Repos, Services and Controllers

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