source: FarmatikoServices/FarmatikoServiceInterfaces/IPHService.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: 699 bytes
Line 
1using FarmatikoData.Models;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.Text;
6using System.Threading.Tasks;
7
8namespace FarmatikoServices.FarmatikoServiceInterfaces
9{
10 public interface IPHService
11 {
12 Task<IEnumerable<PharmacyHead>> GetPharmacyHeadInfo(string Token);
13 Task UpdatePharmacyHead(PharmacyHead pharmacyHead);
14 Task<int> Login(PharmacyHead pharmacyHead);
15 Task<bool> ClaimPharmacy(RequestPharmacyHead pharmacy);
16 Task<PharmacyHead> GetPharmacyHeadByIdAsync(int id);
17 Task<bool> Add(PharmacyHead pharmacyHead);
18 Task<bool> Remove(int id);
19 Task<bool> RemoveClaimingRequest(int id);
20 }
21}
Note: See TracBrowser for help on using the repository browser.