Exemplo n.º 1
0
        public JsonResult DeleteUser(int GridId)
        {
            MessagesRepository _messageRepository = new MessagesRepository();
            string             msgReturn          = _messageRepository.DeleteMessages(GridId);
            string             msgName            = "deleted Record";

            MessagesHub.UpdateStatus(GridId, msgName);
            var data = msgReturn;

            return(Json(new { data }, JsonRequestBehavior.AllowGet));
        }