public UnlockTests() { TaskParams = new UnlockParams { OutputFileName = @"result.pdf" }; }
public ExecuteTaskResponse Process(UnlockParams parameters) { if (parameters == null) { parameters = new UnlockParams(); } return(base.Process(parameters)); }
public async Task Unlock(UnlockParams param) { var remoteLock = await lockRepository.GetByIdAsync(param.LockId); await lockHttpService.UnlockAsync(param.LockId); await actionLogger.AddActionLogAsync( $"Lock \"{remoteLock.Name}\" was unlocked", ActionType.LockRemoteUnlock, DateTime.Now, HttpContext.User.GetId()); await uow.CommitAsync(); }
/// <summary> /// Process the task /// </summary> /// <returns></returns> public ExecuteTaskResponse Process() { var parameters = new UnlockParams(); return(base.Process(parameters)); }