예제 #1
0
        public async Task <IDTO> ExecuteAsync()
        {
            var validationResult = (ValidationsOutput)Validate();

            if (!validationResult.IsValid)
            {
                return(validationResult);
            }
            return(await DBRiskSetup.AddUpdateMode(Risks));
        }
예제 #2
0
 public async Task <IDTO> ExecuteAsync()
 {
     return(await DBRiskSetup.AddUpdateMode(Risks));
 }