Permalink
Find file
f59c0d9 Feb 20, 2014
@mythz @michaellwest @ChrisMcKee @VeXHarbinger
15 lines (13 sloc) 425 Bytes
using ServiceStack.Northwind.ServiceModel.Operations;
using ServiceStack.Northwind.ServiceModel.Types;
using ServiceStack.OrmLite;
namespace ServiceStack.Northwind.ServiceInterface
{
public class CustomersService : ServiceStack.Service
{
public CustomersResponse Get(Customers request)
{
return new CustomersResponse { Customers = Db.Select<Customer>() };
}
}
}