source: FarmatikoServices/FarmatikoServiceInterfaces/IPHService.cs@ d23bf72

Last change on this file since d23bf72 was d23bf72, checked in by DimitarSlezenkovski <dslezenkovski@…>, 2 years ago

Add SystemService, Auth, fix a lil bugs :)

  • Property mode set to 100644
File size: 742 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();
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 PharmacyHead GetPharmacyHead(string userName);
21 }
22}
Note: See TracBrowser for help on using the repository browser.