public override DeleteParametroRes Execute(DeleteParametroReq pServiceRequest) { DeleteParametroRes wRes = new DeleteParametroRes(); ParametroDAC.Delete(pServiceRequest.BusinessData.IdParametro); return(wRes); }
public List <Parametro> GetParametroByTipoParametro(string strTipo) { List <Parametro> lParametro = new ParametroDAC().GetParametroByTipoParametro(strTipo); return(lParametro); }
public override CreateParametroRes Execute(CreateParametroReq pServiceRequest) { CreateParametroRes wRes = new CreateParametroRes(); ParametroDAC.Create(pServiceRequest.BusinessData, new Guid(pServiceRequest.ContextInformation.UserId), pServiceRequest.ContextInformation.AppId); return(wRes); }
public override SearchParametroByParamsRes Execute(SearchParametroByParamsReq pServiceRequest) { SearchParametroByParamsRes wRes = new SearchParametroByParamsRes(); wRes.BusinessData = ParametroDAC.GetByParams(pServiceRequest.BusinessData.IdTipoParametro, pServiceRequest.BusinessData.IdParametroRef, pServiceRequest.BusinessData.Vigente, pServiceRequest.ContextInformation.AppId); return(wRes); }
public override SearchParametroByParamsRes Execute(SearchParametroByParamsReq pServiceRequest) { SearchParametroByParamsRes wRes = new SearchParametroByParamsRes(); wRes.BusinessData = ParametroDAC.GetByParams(pServiceRequest.BusinessData.IdTipoParametro, pServiceRequest.BusinessData.IdParametroRef, pServiceRequest.BusinessData.Vigente, string.Empty); return(wRes); }