Permalink
Browse files

update to use typed Api where possible

  • Loading branch information...
1 parent 903d35c commit 2574ce8683552856c517485143045d87deda1cba @mythz mythz committed Dec 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Backbone.Todos/Global.asax.cs
@@ -39,7 +39,7 @@ public object Get(Todo todo)
/// </summary>
/// <param name="todo">The todo.</param>
/// <returns></returns>
- public object Post(Todo todo)
+ public Todo Post(Todo todo)
{
var redis = Redis.As<Todo>();
@@ -57,7 +57,7 @@ public object Post(Todo todo)
/// </summary>
/// <param name="todo">The todo.</param>
/// <returns></returns>
- public object Put(Todo todo)
+ public Todo Put(Todo todo)
{
return Post(todo);
}

0 comments on commit 2574ce8

Please sign in to comment.