public IActionResult Put(string id, entity.HoleGroup data) { return(Json(_col.UpData(id, data))); }
public IActionResult Post(entity.HoleGroup data) { data.Id = Guid.NewGuid().ToString(); return(Json(_col.Insert(data))); }