Beispiel #1
0
        public static WcfDto ConvertWCFtoWCFDTO(Students obj)
        {
            WcfDto objdto = new WcfDto();

            objdto.id      = obj.id;
            objdto.name    = obj.name;
            objdto.surname = obj.surname;
            objdto.email   = obj.email;
            return(objdto);
        }
Beispiel #2
0
        public static Students ConvertWCFDTOtoWCF(WcfDto obj)
        {
            Students objdto = new Students();

            objdto.id      = obj.id;
            objdto.name    = obj.name;
            objdto.surname = obj.surname;
            objdto.email   = obj.email;
            return(objdto);
        }