public async Task <IHttpActionResult> GettWAAuditObject(int id)
        {
            tWAAuditObject tWAAuditObject = await db.tWAAuditObjects.FindAsync(id);

            if (tWAAuditObject == null)
            {
                return(NotFound());
            }

            return(Ok(tWAAuditObject));
        }
        public async Task <IHttpActionResult> PosttWAAuditObject(tWAAuditObject tWAAuditObject)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            db.tWAAuditObjects.Add(tWAAuditObject);
            await db.SaveChangesAsync();

            return(CreatedAtRoute("DefaultApi", new { id = tWAAuditObject.ID }, tWAAuditObject));
        }