public static async Task <global::IdentityServer4.Models.Consent> ToConsentAsync(this ConsentModel model) { var result = await model.MakeConsentAsync(); return(result); }
public static global::IdentityServer4.Models.Consent ToConsent(this ConsentModel model) { var result = model.ToConsentAsync(); return(result.Result); }