using System; using System.Collections.Generic; using System.Linq; using System.Web; using Warehouse.Models.mesLevel4; namespace Warehouse.DAL.Config.Customer { public class CustomerMSDal { public customer Query(string CustomerId) { using (var context = new mesLevel4Model()) { return context.customers.Find(CustomerId); } } } }