virtual public CommonResponse Finalize([FromBody] string value) { CommonResponse response = new CommonResponse(); Entity entity; try { entity = JsonConvert.DeserializeObject <Entity>(value); return(_logic.Finalize(entity)); } catch (Exception e) { return(response.Error("ERROR: " + e.ToString())); } }