public async Task <IDTO> ExecuteAsync() { var validationResult = (ValidationsOutput)Validate(); if (!validationResult.IsValid) { return(validationResult); } return(await DBRiskSetup.AddUpdateMode(Risks)); }
public async Task <IDTO> ExecuteAsync() { return(await DBRiskSetup.AddUpdateMode(Risks)); }