public JsonResult DelCollection(string type, string name, int bizId)
        {
            CollectionListDto collection = new CollectionListDto();

            try
            {
                int userId = int.Parse(CookieHelper.GetCookieValue("UserId").ToString());
                _collectionAppService.DeleteCollectionByBizId(type, bizId, userId);
            }
            catch (Exception e)
            {
            }
            return(Json(collection, JsonRequestBehavior.AllowGet));
        }
        public JsonResult AddCollection(string type, string name, int bizId)
        {
            CollectionEditDto collection = new CollectionEditDto();
            CollectionListDto clist      = new CollectionListDto();

            try
            {
                int userId = int.Parse(CookieHelper.GetCookieValue("UserId").ToString());
                clist = _collectionAppService.GetCollectionByTypeAndId(type, bizId, userId);
                if (clist == null)
                {
                    collection.BizId         = bizId;
                    collection.BizType       = type;
                    collection.UserId        = userId;
                    collection.BizName       = name;
                    collection.CreatorUserId = userId;
                    collection = _collectionAppService.CreateCollection(collection);
                }
            }
            catch (Exception e)
            {
            }
            return(Json(collection, JsonRequestBehavior.AllowGet));
        }