public object Get(IntId request) //Returning generic types (or collections) directly wont match HTML views (still good for JSON,XML,etc) { return(DbFactory.Run(db => db.Select <Reqstar>(q => q.Id == request.Id))); }
public object Get(IntId request) { return DbFactory.Run(db => db.Select<Reqstar>(q => q.Id == request.Id)); }