public string SetMessage(string msg = "", CssErrorEnum type = CssErrorEnum.Info)
        {
            InfoMessage = msg;
            MessageType = type;

            return null;
        }
Example #2
0
        public void SetMessage(string msg = "", CssErrorEnum type = CssErrorEnum.Info)
        {
            InfoMessage = msg;
            MessageType = type;

            // when it is called from view, ther must be returned value
            //return null;
        }