Ignore:
Timestamp:
11/05/20 06:57:35 (3 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
afc9a9a
Parents:
1f4846d
Message:

Add SystemService, Auth, fix a lil bugs :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoServices/Services/PHService.cs

    r1f4846d rd23bf72  
    3838        }
    3939
    40         public async Task<IEnumerable<PharmacyHead>> GetPharmacyHeadInfo(string Token)
     40        public async Task<IEnumerable<PharmacyHead>> GetPharmacyHeadInfo()
    4141        {
    4242            var PHeads = await _iPHRepo.GetPharmacyHeadInfo();
     
    9292            return false;
    9393        }
     94
     95        public PharmacyHead GetPharmacyHead(string userName)
     96        {
     97            if (userName != null)
     98            {
     99                return _iPHRepo.GetPharmacyHeadByUserName(userName);
     100            }
     101            return default;
     102        }
    94103    }
    95104}
Note: See TracChangeset for help on using the changeset viewer.