public void Update(string token, int workspaceId, int id, [FromBody] JObject value) { var user = _auth.Authenticate(token); if (user == null) { throw new TedExeption(ExceptionCodes.Authentication); } _repo.UpdateModule(id, value, user); }