Ignore:
Timestamp:
10/28/20 22:06:48 (4 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
993189e
Parents:
1454207
Message:

Change methods & add error controller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoServices/FarmatikoServiceInterfaces/IPHService.cs

    r1454207 r6f203af  
    1010    public interface IPHService
    1111    {
    12         Task<IQueryable<PharmacyHead>> GetPharmacyHeadInfo(string Token);
     12        Task<IEnumerable<PharmacyHead>> GetPharmacyHeadInfo(string Token);
    1313        Task UpdatePharmacyHead(PharmacyHead pharmacyHead);
    1414        Task<int> Login(PharmacyHead pharmacyHead);
    15         Task ClaimPharmacy(RequestPharmacyHead pharmacy);
     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);
    1620    }
    1721}
Note: See TracChangeset for help on using the changeset viewer.