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)); }
public async Task YourMethodName(CareVoucehersViewModel model, Action completeAction) { await _Service.YourMethodNameAsync(model); completeAction(); }