Exemplo n.º 1
0
        public CodesTVAPivot GetCodesTVAPivot(long id)
        {
            var           item          = codesTvaRepository.GetById((int)id);
            CodesTVAPivot codesTVAPivot = Mapper.Map <CPT_CodesTVA, CodesTVAPivot>(item);

            return(codesTVAPivot);
        }
        public CodesTVAPivot GetCodesTVA(long?id)
        {
            var           codes      = codesRepository.GetById((int)id);
            CodesTVAPivot codesPivot = Mapper.Map <CPT_CodesTVA, CodesTVAPivot>(codes);

            return(codesPivot);
        }