コード例 #1
0
ファイル: NoticeController.cs プロジェクト: JerryForNet/wuye
 //    [HandlerAuthorize(PermissionMode.Enforce)]
 public ActionResult SaveForm(string keyValue, NoticeEntity entity)
 {
     entity.author      = OperatorProvider.Provider.Current().Account;
     entity.create_time = DateTime.Now;
     noticebll.SaveForm(keyValue, entity);
     return(Success("操作成功。"));
 }
コード例 #2
0
        public ActionResult SaveForm(string keyValue, NewsEntity newsEntity)
        {
            var user = OperatorProvider.Provider.Current();

            newsEntity.NoticeDept = user.DeptName;

            noticeBLL.SaveForm(keyValue, newsEntity);
            return(Success("操作成功。"));
        }
コード例 #3
0
ファイル: NoticeController.cs プロジェクト: MrBigGreen/CRM
 public ActionResult SaveForm(string keyValue, NewsEntity newsEntity)
 {
     noticeBLL.SaveForm(keyValue, newsEntity);
     return(Success("操作成功。"));
 }