예제 #1
0
 public AdministratorLogger(int UserId)
 {
     dxAdminOperationLog = new DxAdminOperationLog
     {
         IpAddress = RequestHelper.GetClientIp(),
         UserId    = UserId,
         CreatedOn = DateTime.Now
     };
 }
예제 #2
0
 public static DxAdminOperationLogViewModel ToModel(this DxAdminOperationLog entity)
 {
     return(entity.MapTo <DxAdminOperationLog, DxAdminOperationLogViewModel>());
 }