Пример #1
0
        public ContentResult leaving(LeavingMsgRequest request)
        {
            var msg  = string.Empty;
            var flag = _leavingMsgService.Insert(request, out msg);

            return(Result <string>(flag, msg));
        }
Пример #2
0
        public void Insert()
        {
            string msg     = string.Empty;
            var    request = new LeavingMsgRequest
            {
                Email   = "*****@*****.**",
                Message = "test",
                Mobile  = "182********",
                Name    = "shangguanlei"
            };

            service.Insert(request, out msg);
        }