Example #1
0
        public Object SaveProjects(dynamic data)
        {
            var project = JsonConvert.DeserializeObject <Projects>(data.ToString());

            _projectLogic.AddorUpdate(project);

            return(new
            {
                success = true,
                Projects = new { Record = project, TotalRecords = 1 },
            });
        }