using CAPI.Custom.Data; using CAPI.Custom.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CAPI.Custom.Services.Quotes { public class EnquiryItemService : SurfaceChildItemService { public EnquiryItemService(QuotesContext db = null) { if (db.IsNotNull()) this.db = db; } public override IQueryable GetByParentId(int parentId) => base.GetByParentId(parentId).OrderBy(p => p.Sequence); } }