source: FarmatikoData/FarmatikoRepoInterfaces/IMedicineListRepository.cs@ 4e72684

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

Add services

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