source: FarmatikoData/FarmatikoRepoInterfaces/IPHRepo.cs@ 28d7d35

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

fix bugs

  • Property mode set to 100644
File size: 958 bytes
Line 
1using FarmatikoData.Models;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.Text;
6using System.Threading.Tasks;
7
8namespace FarmatikoData.FarmatikoRepoInterfaces
9{
10 public interface IPHRepo
11 {
12 Task ClaimPharmacy(RequestPharmacyHead pharmacy);
13 Task<IEnumerable<PharmacyHead>> GetPharmacyHeadInfo();
14 Task UpdatePharmacyHead(PharmacyHead pharmacyHead);
15 Task<PharmacyHead> GetPharmacyHeadByIdAsync(int id);
16 Task Add(PharmacyHead pharmacyHead);
17 Task Remove(PharmacyHead phead);
18 Task RemoveClaimingRequest(int id);
19 PharmacyHead GetPharmacyHeadByUserName(string userName);
20 List<PharmacyHeadMedicine> GetPharmacyHeadMedicines(string email);
21 IEnumerable<PharmacyHead> GetPharmacyHeads();
22 PharmacyHead GetPharmacyHead(string head);
23 List<Pharmacy> GetPharmacies();
24 void DeletePHMedicine(int id, int phId, int medId);
25 }
26}
Note: See TracBrowser for help on using the repository browser.