Exemplo n.º 1
0
        public Statline mapStatlineDtoToStatline(StatlineDto statlineDto)
        {
            Statline statline = new Statline();

            statline.Id  = statlineDto.Id;
            statline.STR = statlineDto.STR;
            statline.DEX = statlineDto.DEX;
            statline.CON = statlineDto.CON;
            statline.INT = statlineDto.INT;
            statline.WIS = statlineDto.WIS;
            statline.CHA = statlineDto.CHA;
            return(statline);
        }
Exemplo n.º 2
0
        public StatlineDto mapStatlineToStatlineDto(Statline Statline)
        {
            StatlineDto StatlineDto = new StatlineDto();

            StatlineDto.Id  = Statline.Id;
            StatlineDto.STR = Statline.STR;
            StatlineDto.DEX = Statline.DEX;
            StatlineDto.CON = Statline.CON;
            StatlineDto.INT = Statline.INT;
            StatlineDto.WIS = Statline.WIS;
            StatlineDto.CHA = Statline.CHA;
            return(StatlineDto);
        }