At this time, I have this piece of code for my "employee" class. But I have almost the same for "customer" and all the others.

Is there a way to create an equivalent of my class "EmployeeRepository" but more something like this MyRepo<Employee> but implement IEmployeeRepository in this case, ICustomerRepository if I do this MyRepo<Customer>. Of course the get method return Employee, Customer or other ...

```
public class EmployeeRepository : NHRepository<Employee>, IEmployeeRepository
{
    public Employee Get(Guid EmployeeId)
    {
        return base.Get(EmployeeId);
    }
}

public interface IEmployeeRepository : IRepositoryActionActor<Employee>
{

}

public interface IRepositoryActionActor<T>
{
    T Get(Guid objId);
}

```