public static object GetEfRepository(Type entityType) { IEfRepositoryFactory factory = GetEfRepositoryFactory(entityType); return(factory.GetEfRepository(entityType)); }
public static IRepository <T> GetEfRepository <T>() where T : BaseEntity { IEfRepositoryFactory factory = GetEfRepositoryFactory <T>(); return(factory.GetEfRepository <T>()); }