How do I use IMayHaveTenant?
I have my model
public class GroupCategory: Entity, IMayHaveTenant { public string MyProperty {get; set; public int? TenantID {get; set; } }
But when I use
_groupRepository.GetAllList ();
He does not return the records that do not have TenantID, ie TenantID == null
I tried to use Disable and Enable method
How use service layer without repository pattern? The dbcontext implement by defaut a repository