public int GetCount() { MBTIEntities context = CreateContext(); return(context.Set <T>().Count()); }
public List <T> GetAll() { MBTIEntities context = CreateContext(); return(context.Set <T>().ToList()); }