示例#1
0
        public void Create([FromBody] dynamic data)
        {
            var jsonString = JsonConvert.SerializeObject(data);
            var dataCreate = JsonConvert.DeserializeObject <EventSubTypeDataModel>(jsonString);

            dataCreate.ApplicationId = SessionVariables.RequestProfile.ApplicationId;

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