Skip to content

Commit

Permalink
SomeDataService to be used in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
borismod committed Aug 6, 2015
1 parent fcdcf49 commit 4038342
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/EasyHttp.Specs/Helpers/ServiceStackHost.cs
Expand Up @@ -65,6 +65,13 @@ public override object OnDelete(Hello request)
}
}

public class SomeDataService : RestServiceBase<SomeData>
{
public override object OnGet(SomeData request)
{
return new SomeDataResponse() { SomeValue = @"@bormod how are you?" };
}
}
public class FilesService : RestServiceBase<Files>
{
public override object OnPut(Files request)
Expand Down

0 comments on commit 4038342

Please sign in to comment.