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

            ParametroDAC.Delete(pServiceRequest.BusinessData.IdParametro);
            return(wRes);
        }
Esempio 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);
        }
Esempio 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);
        }