public PersonaJuridicaDTO GetById(PersonaJuridicaDTO objIn) { PersonaJuridicaDTO toReturn = ObjPersonaJuridicaDA.GetById(objIn); if (toReturn == null) { throw new NotFoundIdException(objIn.RutEmpresa); } toReturn.LstFamiliaProductos = ObjFamiliaProductosBL.GetAllByParameters( new PJFamProdProdDTO { RutEmpresa = objIn.RutEmpresa }); return(toReturn); }
public PersonaNaturalDTO GetById(PersonaNaturalDTO objIn) { PersonaNaturalDTO toReturn = ObjPersonaNaturalDA.GetById(objIn); if (toReturn == null) { throw new NotFoundIdException(objIn.RutPersonaNatural); } toReturn.LstFamiliaProductos = ObjFamiliaProductosBL.GetAllByParameters( new PNFamProdProdDTO { RutPersonaNatural = objIn.RutPersonaNatural }); return(toReturn); return(toReturn); }
public void GetAllFamiliaProductosByParameters() { view.LstFamiliaProductos = ObjFamiliaProductosBL.GetAllByParameters(view.ObjResultadoProductosDisponibles); }
public void GetAllFamiliaProductos() { view.LstFamiliaProductos = ObjFamiliaProductosBL.GetAll(); }