Exemplo n.º 1
0
        public override DeleteParametroRes Execute(DeleteParametroReq pServiceRequest)
        {
            DeleteParametroRes wRes = new DeleteParametroRes();

            ParametroDAC.Delete(pServiceRequest.BusinessData.IdParametro);
            return(wRes);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 4
0
        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);
        }