예제 #1
0
 private Validation <Error, UpdateEntityTypeCommand> ValidateUpdateEntityTypeCommand(UpdateEntityTypeCommand cmd)
 => from x in ValidateNonNull(cmd)
 from y in (
예제 #2
0
 public Try <Validation <Error, EntityTypeDto> > Execute(UpdateEntityTypeCommand cmd)
 => ()
 => from x in ValidateUpdateEntityTypeCommand(cmd)
 let y                 = CreateEntityTypeFrom(x)
                 let z = repository.Update(y)
                         select z.ToTipoEntidadDTO();