Esempio n. 1
0
        public ModelBase Index(string t)
        {
            var result = new ModelBase();

            socket.SendToAll(new DashboardModel()
            {
                Text          = t,
                Function      = DashboardModel.FunctionTypes.notifyDanger,
                RequireReload = false
            });
            result.GenerateError("Sve ok");
            return(result);
        }