public List<Cliente> Get() { var e = new AdventureWorksLT2008Entities(); return e.Clientes.Take(10).ToList(); }
public Cliente Get(int id) { var e = new AdventureWorksLT2008Entities(); return(e.Clientes.FirstOrDefault(x => x.CustomerID == id)); }
public Cliente Get(int id) { var e = new AdventureWorksLT2008Entities(); return e.Clientes.FirstOrDefault(x => x.CustomerID == id); }
public List <Cliente> Get() { var e = new AdventureWorksLT2008Entities(); return(e.Clientes.Take(10).ToList()); }