public OwnerRequestsViewModel(
     IEnumerable <PackageOwnerRequest> received,
     IEnumerable <PackageOwnerRequest> sent,
     User currentUser,
     IPackageService packageService)
 {
     Received = new OwnerRequestsListViewModel(received, currentUser, packageService);
     Sent     = new OwnerRequestsListViewModel(sent, currentUser, packageService);
 }
 public OwnerRequestsViewModel(IEnumerable <PackageOwnerRequest> incoming, IEnumerable <PackageOwnerRequest> outgoing, User currentUser, IPackageService packageService)
 {
     Incoming = new OwnerRequestsListViewModel(incoming, nameof(Incoming), currentUser, packageService);
     Outgoing = new OwnerRequestsListViewModel(outgoing, nameof(Outgoing), currentUser, packageService);
 }