private T GetRepository <T>() where T : class
 {
     return(RepositoryProvider.GetRepository <T>());
 }
 private IRepository <T> GetStandardRepository <T>() where T : class, IEntity
 {
     return(RepositoryProvider.GetRepositoryForEntityType <T>());
 }