source: FarmatikoData/FarmatikoRepoInterfaces/IMedicineListRepository.cs@ e42f61a

Last change on this file since e42f61a was e42f61a, checked in by DimitarSlezenkovski <dslezenkovski@…>, 2 years ago

Add more services

  • Property mode set to 100644
File size: 717 bytes
Line 
1using FarmatikoData.Models;
2using System;
3using System.Collections.Generic;
4using System.Text;
5
6namespace FarmatikoData.FarmatikoRepo
7{
8 public interface IMedicineListRepository
9 {
10 void Add(MedicineList medicineList);
11 void Remove(MedicineList medicineList);
12 ICollection<MedicineList> GetAll();
13 //Not needed, maybe later
14 /*MedicineList CheckMedicine(MedicineList medicineList, bool HasMedicine);
15 public MedicineList CheckMedicine(string Name);*/
16 ICollection<MedicineList> GetByName(string Name);
17 ICollection<MedicineList> GetByManufacturer(string Manufacturer);
18 void SetHasMedicine(MedicineList medicineList, bool HasMedicine);
19 }
20}
Note: See TracBrowser for help on using the repository browser.