Exemplo n.º 1
0
 public async Task <ActionResult <Api.SamlUpParty> > PostSamlUpParty([FromBody] Api.SamlUpParty party) => await Post(party, ap => new ValueTask <bool>(validateSamlPartyLogic.ValidateApiModel(ModelState, ap)), async (ap, mp) => await samlMetadataReadUpLogic.PopulateModelAsync(ModelState, mp));
Exemplo n.º 2
0
 public async Task <ActionResult <Api.SamlUpParty> > PostSamlUpParty([FromBody] Api.SamlUpParty party) => await Post(party, ap => new ValueTask <bool>(validateSamlPartyLogic.ValidateApiModel(ModelState, ap)), (ap, mp) => new ValueTask <bool>(true));