public async Task NotifyNewEvaluation(SettingEvalModel model) { var groupName = Helper.GetGroupName(model.AppId, model.Setting); await m_hubContext.Clients.Group(groupName).SendAsync("evalReceived", model); }
public async Task <HttpResponseMessage> Create(SettingEvalModel eval) { await this.NotifyNewEvaluation(eval); return(new HttpResponseMessage(HttpStatusCode.Created)); }