Esempio n. 1
0
 public async Task NotifyNewEvaluation(SettingEvalModel model)
 {
     var groupName = Helper.GetGroupName(model.AppId, model.Setting);
     await m_hubContext.Clients.Group(groupName).SendAsync("evalReceived", model);
 }
Esempio n. 2
0
        public async Task <HttpResponseMessage> Create(SettingEvalModel eval)
        {
            await this.NotifyNewEvaluation(eval);

            return(new HttpResponseMessage(HttpStatusCode.Created));
        }