Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Experiments / Attic / MVC / Castle.MVC.Presentation / HomeController.cs
blobf86b075cffee96b8993ff393efac20e2b21541f3
2 #region Apache Notice
3 /*****************************************************************************
4 *
5 * Castle.MVC
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
19 ********************************************************************************/
20 #endregion
22 #region Autors
24 /************************************************
25 * Gilles Bayon
26 *************************************************/
27 #endregion
29 using Castle.MVC.Controllers;
31 namespace Castle.MVC.Test.Presentation
33 public class HomeController : Controller
36 public void Login(string email, string passwd)
38 this.Navigate();
41 public void Login2(string email, string passwd)
43 this.Navigate();
46 public MyApplicationState MyState
48 get
50 return this.State as MyApplicationState;