public ActionResult CreateMemberlink(T_MemberLink model)
        {
            var file = Request.Files["file_icon"];

            dbContent.Entry(model).State = EntityState.Added;
            model.CreateDate             = DateTime.Now;
            model.Icon = SaveFile(file);
            dbContent.SaveChanges();
            return(Ok());
        }
        public ActionResult ModifyMemberlink(T_MemberLink model)
        {
            var file = Request.Files["file_icon"];

            if (file != null && file.ContentLength > 0)
            {
                model.Icon = SaveFile(file);
            }

            dbContent.Entry(model).State = EntityState.Modified;
            dbContent.Entry(model).Property(x => x.CreateDate).IsModified = false;
            dbContent.SaveChanges();
            return(Ok());
        }