public ActionResult AddRoleInfo(RoleInfo roleInfo) { roleInfo.DelFlag = 0; roleInfo.SubTime = DateTime.Now; roleInfo.ModifiedOn = DateTime.Now; roleInfoService.AddEntity(roleInfo); return(Content("ok")); }