public List <ThreshHold_Result> Getthreshhold(int tenantId) { var db = new InventoryDb(); return(db.ThreshHold(tenantId).OrderByDescending(o => o.ProductId).ToList()); }