public List <BeforeSubmittingQuotation> UnitPriceSetting(string staffEmailAddress) { using (DefaultConnection db = new DefaultConnection()) { string fullName = StaffData.EmailToFullName(db, staffEmailAddress); return(db.BeforeSubmittingQuotations .Where(sq => sq.ResponsibleStaff == fullName) .ToList()); } }