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