Last change
on this file since dae4cde was 68454c6, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
fix bugs
|
-
Property mode
set to
100644
|
File size:
958 bytes
|
Rev | Line | |
---|
[1454207] | 1 | using FarmatikoData.Models;
|
---|
| 2 | using System;
|
---|
| 3 | using System.Collections.Generic;
|
---|
| 4 | using System.Linq;
|
---|
| 5 | using System.Text;
|
---|
| 6 | using System.Threading.Tasks;
|
---|
| 7 |
|
---|
| 8 | namespace FarmatikoData.FarmatikoRepoInterfaces
|
---|
| 9 | {
|
---|
| 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();
|
---|
[68454c6] | 24 | void DeletePHMedicine(int id, int phId, int medId);
|
---|
[1454207] | 25 | }
|
---|
| 26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.