Skip to content

Instantly share code, notes, and snippets.

@MauRiEEZZZ
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MauRiEEZZZ/01ccbf0b3ae312252702 to your computer and use it in GitHub Desktop.
Save MauRiEEZZZ/01ccbf0b3ae312252702 to your computer and use it in GitHub Desktop.
CustomersRepository typo CS-ASP_064
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LocalDbExample.Persistence
{
public class CustomersRepository
{
public static List<Customers> GetCustomers()
{
ACMEEntities db = new ACMEEntities();
var dbCustomers = db.Customers.ToList();
return dbCustomers;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment