public JsonResult AddNew(CentaBuildType model) { var service = new BuildService(); var id = service.AddNew(model); var rs = id > 0; return(Json(new { rs = rs, id = id })); }