예제 #1
0
 public ActionResult AddRoleInfo(RoleInfo roleInfo)
 {
     roleInfo.DelFlag = (short)DeleteFlag.Normal;
     roleInfo.ModifiedOn = DateTime.Now;
     roleInfo.SubTime = DateTime.Now;
     RoleInfoBll.AddEntity(roleInfo);
     return Content("success");
 }
예제 #2
0
 public ActionResult EditRoleInfo(RoleInfo roleInfo)
 {
     roleInfo.ModifiedOn = DateTime.Now;
     RoleInfoBll.UpdateEntity(roleInfo);
     return Content("success");
 }