Beispiel #1
0
        public ReturnMessageModel UserDel(int UserId)
        {
            ReturnMessageModel result         = new ReturnMessageModel();
            ObjectParameter    returnMessaage = new ObjectParameter("ReturnMessage", typeof(String));

            using (TestDBEntities db = new TestDBEntities())
            {
                db.SpUserDel(UserId, returnMessaage);
                result.ReturnMessage = returnMessaage.Value.ToString();
                return(result);
            }
        }