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

            dataCreate.ApplicationId = SessionVariables.RequestProfile.ApplicationId;

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