public void GrabarAfp() { AfpRegistrada nuevaAfpRegistrada = this._gestorDeAfp.CrearAfp(this.nuevaAfp); this.afpResgistradas.Add(nuevaAfpRegistrada); this.nuevaAfp = new NuevaAfp(); }
private AfpRegistrada ConvertirAfpA_DTO(tb_Afp afp) { AfpRegistrada afpRegistrada = new AfpRegistrada(); afpRegistrada.Id = afp.CodigoAfp; afpRegistrada.Descripcion = afp.Descripcion; return(afpRegistrada); }