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

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

Fix bugs, add some more

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