Beispiel #1
0
 public bool Update( int RoleId,  int ContentEntityId,  int SystemFunctionId,  bool HasAccess,  DateTime ModifiedDate,  int Original_RolePrivilegeId)
 {
     RolePrivilegeDAC roleprivilegeComponent = new RolePrivilegeDAC();
     HasAccess = true;
     return roleprivilegeComponent.UpdateRolePrivilege( RoleId,  ContentEntityId,  SystemFunctionId,  HasAccess,  DateTime.Now,  Original_RolePrivilegeId);
 }
Beispiel #2
0
 public bool Update(RolePrivilege roleprivilege ,int old_rolePrivilegeId)
 {
     RolePrivilegeDAC roleprivilegeComponent = new RolePrivilegeDAC();
     roleprivilege.HasAccess = true;
     return roleprivilegeComponent.UpdateRolePrivilege( roleprivilege.RoleId,  roleprivilege.ContentEntityId,  roleprivilege.SystemFunctionId,  roleprivilege.HasAccess,  DateTime.Now,  old_rolePrivilegeId);
 }