Permalink
Find file
6be86e3 Aug 15, 2014
15 lines (13 sloc) 350 Bytes
using Northwind.ServiceModel;
using Northwind.ServiceModel.Types;
using ServiceStack.OrmLite;
namespace Northwind.ServiceInterface
{
public class CustomersService : ServiceStack.Service
{
public object Get(Customers request)
{
return new CustomersResponse { Customers = Db.Select<Customer>() };
}
}
}