public void SendSituation(string verbId, string recipeId)
        {
            var situationMessage = new SituationMessage()
            {
                VerbId   = verbId,
                RecipeId = recipeId
            };

            _client.Send(NoonMsgType.Situation, situationMessage);
        }
Exemplo n.º 2
0
        public IndexModel(ApplicationDbContext db, UserManager <ApplicationUser> manager)
        {
            _context     = db;
            _userManager = manager;
            sequence     = new Sequence();
            SitMessage   = new SituationMessage();

            ButtonPropList = new List <ButtonProp>();
            for (int i = 0; i < 11; i++)
            {
                ButtonPropList.Add(new ButtonProp());
            }
        }