public void Post([FromBody] string value) { TestAPI.Utils ut = new TestAPI.Utils(); string response = ""; response = ut.saveProp(); }
public ActionResult <string> Get(string id) { TestAPI.Utils ut = new TestAPI.Utils(); string response = ""; // response = ut.getProp(id); PUT BACK IN response = ut.saveProp(); // Models.Building.Rootobject prop = new Models.Building.Rootobject(); // prop = Newtonsoft.Json.JsonConvert.DeserializeObject<TestAPI.Models.Building.Rootobject>(response); return(response); }