public ActionResult AddUserToGroup(string hubName, string userId, string groupName) { if (mappingService.AddToGroup(hubName, userId, groupName)) { return(Ok()); } return(BadRequest("No matching connection")); }