using System;
using System.Collections.Generic;
using System.Text;
namespace Company.MyProduct.Support.Controllers{
public sealed class MyController : Ingenious.Mvc.Controllers.ControllerBase
{
public MyController(Ingenious.Mvc.Id<Ingenious.Mvc.IController> id, Ingenious.Mvc.Task task, Ingenious.Mvc.INavigator navigator)
: base(id, task, navigator)
{
}
/// <summary>
/// An example of a method inside a controller. Just converts a string to lower case.
/// </summary>
public string ConvertToLower(string s)
{
if (s == null)
{
throw new ArgumentNullException("s");
}
return s.ToLower();
}
}
}
|