source: FarmatikoData/FarmatikoRepoInterfaces/IPHRepo.cs@ 6f203af

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

Change methods & add error controller

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