public void CompleteJob(UserJobAction uja) { //test here if userId is logged in or return _db.CompleteJob(uja.JobId, uja.UserId); Clients.All.SendAsync("JobCompleted", uja.JobId); }