예제 #1
0
        public string DoRegistration(string jsonReg)
        {
            string error   = "";
            var    inReg   = SerializationHelper.DeserializeFromJsonString <Registration>(jsonReg);
            var    context = new KoloAndroidEntities4Serialization();
            var    outReg  = RegistrationHelper.DoRegistration(inReg, context, out error);
            KoloWsObject <Registration> koloWs = new KoloWsObject <Registration>(error, outReg);

            context.Dispose();
            var result = SerializationHelper.SerializeToJson(koloWs);

            return(result);
        }