source: FarmatikoData/FarmatikoRepoInterfaces/IPHRepo.cs@ 1db5673

Last change on this file since 1db5673 was 1db5673, checked in by DimitarSlezenkovski <dslezenkovski@…>, 21 months ago

Fix bugs, add some more

  • Property mode set to 100644
File size: 898 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 }
25}
Note: See TracBrowser for help on using the repository browser.