Exemplo n.º 1
0
        public void Create([FromBody] dynamic data)
        {
            var jsonString = JsonConvert.SerializeObject(data);
            var dataCreate = JsonConvert.DeserializeObject <ClassDataModel>(jsonString);

            dataCreate.ApplicationId = SessionVariables.RequestProfile.ApplicationId;

            ClassDataManager.Create(dataCreate, SessionVariables.RequestProfile);
        }