My multi layer project has Datalayer, services, panel. dataLayer referenced to services, and services referenced to panel. i have an interface in datalayer, some thing like
public interface IJournalEntity
{
...
}
my services has a class that inherited from IJournalEntity,
public class OfflinePaymentService : IOfflinePaymentService, IJournalEntity
{
...
}
when i compile panel layer, unity config raise an error to add reference to data layer, how could i fix withoud referenced that?