source: FarmatikoData/FarmatikoRepoInterfaces/IMedicineListRepository.cs@ 63d885e

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

Update & add service

  • Property mode set to 100644
File size: 737 bytes
Line 
1using FarmatikoData.Models;
2using System.Collections.Generic;
3using System.Linq;
4
5namespace FarmatikoData.FarmatikoRepo
6{
7 public interface IMedicineListRepository
8 {
9 void Add(MedicineList medicineList);
10 void Remove(MedicineList medicineList);
11 IQueryable<MedicineList> GetAll();
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 //void SetHasMedicine(MedicineList medicineList);
18 }
19}
Note: See TracBrowser for help on using the repository browser.