Skip to content

Commit

Permalink
Missing file for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
borismod committed Aug 6, 2015
1 parent a8b6a50 commit fcdcf49
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/EasyHttp.Specs/Helpers/ServiceStackHost.cs
Expand Up @@ -31,6 +31,17 @@ public class CookieInfo
public string Value { get; set; }
}

public class SomeData
{
public string Id { get; set; }
}

// ReSharper disable once ClassNeverInstantiated.Global
public class SomeDataResponse
{
public string SomeValue { get; set; }
}

public class HelloService : RestServiceBase<Hello>
{
public override object OnGet(Hello request)
Expand Down Expand Up @@ -115,6 +126,8 @@ public override void Configure(Funq.Container container)
.Add<CookieInfo>("/cookie/{Name}");
Routes.Add<Redirect>("/redirector")
.Add<Redirect>("/redirector/redirected");
Routes.Add<SomeData>("/data")
.Add<SomeData>("/data/{Id}");
}
}
}

0 comments on commit fcdcf49

Please sign in to comment.