예제 #1
0
        public CertificateViewModel(ICertificatesService certificatesService, IBoardsService boardsService, IBuildingService buildingService, ILookupsService lookupsService)
        {
            Title = "Certificate Details - Basic Info";

            _certificatesService = certificatesService;
            _boardsService       = boardsService;
            _buildingService     = buildingService;
            _lookupsService      = lookupsService;

            BasicInfoViewModel        = new BasicInfoViewModel(certificatesService);
            AssociatedBoardsViewModel = new AssociatedBoardsViewModel(boardsService);
            EditPointViewModel        = new EditPointViewModel(boardsService);

            Contractors = new List <BuildingUser>();
            Supervisors = new List <BuildingUser>();
            //CertDateAmendedOptions = new List<string>();
        }
예제 #2
0
        public override async Task OnAppearing()
        {
            await AssociatedBoardsViewModel.OnAppearing();

            await EditPointViewModel.OnAppearing();
        }