public FastDeliveryAvailabilityHistoryViewModel( IEntityUoWBuilder uowBuilder, IUnitOfWorkFactory unitOfWorkFactory, ICommonServices commonServices, IEmployeeService employeeService, INavigationManager navigation = null) : base(uowBuilder, unitOfWorkFactory, commonServices, navigation) { var logistician = employeeService.GetEmployeeForUser(UoW, UserService.CurrentUserId); FastDeliveryVerificationViewModel = new FastDeliveryVerificationViewModel(Entity, UoW, logistician); }
public FastDeliveryVerificationDetailsViewModel(INavigationManager navigationManager, FastDeliveryVerificationViewModel fastDeliveryVerificationViewModel) : base(navigationManager) { FastDeliveryVerificationViewModel = fastDeliveryVerificationViewModel ?? throw new ArgumentNullException(nameof(fastDeliveryVerificationViewModel)); WindowPosition = WindowGravity.None; }