The ActionOperations controller class
|
||
using System;
using System.Collections.Generic;
using System.Text;
using Persistate;
using Library.Model;
namespace Library.Controller
{
/// <summary>
/// This static class contains controller methods for the operations
/// defined for the Action operation group.
/// </summary>
public static class ActionOperations
{
/// <summary>
/// Executes the Receive books operation in the
/// Action group.
/// </summary>
/// <param name="execution">The operation Execution object created for the
/// execution of the Receive books operation.</param>
/// <returns>An ExecutionResult which should be set with the result
/// of the operation.</returns>
public static ExecutionResult ExecuteReceiveBooks(Execution execution)
{
// TODO Implement the Receive books operation;
return new ExecutionResult(ResultAction.NoAction, "Operation is not implemented");
}
/// <summary>
/// Executes the New borrower operation in the
/// Action group.
/// </summary>
/// <param name="execution">The operation Execution object created for the
/// execution of the New borrower operation.</param>
/// <returns>An ExecutionResult which should be set with the result
/// of the operation.</returns>
public static ExecutionResult ExecuteNewBorrower(Execution execution)
{
// TODO Implement the New borrower operation;
return new ExecutionResult(ResultAction.NoAction, "Operation is not implemented");
}
/// <summary>
/// Executes the Create test data operation in the
/// Action group.
/// </summary>
/// <param name="execution">The operation Execution object created for the
/// execution of the Create test data operation.</param>
/// <returns>An ExecutionResult which should be set with the result
/// of the operation.</returns>
public static ExecutionResult ExecuteCreateTestData(Execution execution)
{
// TODO Implement the Create test data operation;
return new ExecutionResult(ResultAction.NoAction, "Operation is not implemented");
}
/// <summary>
/// Executes the Blacklist author operation in the
/// Action group.
/// </summary>
/// <param name="execution">The operation Execution object created for the
/// execution of the Blacklist author operation.</param>
/// <returns>An ExecutionResult which should be set with the result
/// of the operation.</returns>
public static ExecutionResult ExecuteBlacklistAuthor(Execution execution)
{
// TODO Implement the Blacklist author operation;
return new ExecutionResult(ResultAction.NoAction, "Operation is not implemented");
}
}
}