Example #1
0
        public static async Task <bool> BikerIsWorking()
        {
            var bikerWork = await HttpClientService.Get <object>($"https://delivery-3rd-api.azurewebsites.net/api/Biker/GetUnfinishedOrder/{bikerInfo?._id}");

            return(bikerWork != null);
        }
Example #2
0
        public static async Task SetBikerInfo(string userid)
        {
            var biker = await HttpClientService.Get <BikerModel>($"https://delivery-3rd-api.azurewebsites.net/api/Biker/GetBikerInfo/{userid}");

            bikerInfo = biker;
        }