public async Task <T> YourMethodNameAsync(CareVoucehersViewModel model)
        {
            string requestURL = "/path/{Parameter}";
            var    httpMethod = BaseNetworkAccessEnum.Get;
            var    parameters = new Dictionary <string, ParameterTypedValue>()
            {
                //{"Parameter", model.Property},
            };

            return(await _NetworkInterfaceWithOutput(requestURL, parameters, httpMethod));
        }
예제 #2
0
        public async Task YourMethodName(CareVoucehersViewModel model, Action completeAction)
        {
            await _Service.YourMethodNameAsync(model);

            completeAction();
        }