Esempio n. 1
0
        public async Task <MachineViewModel> MachinesGet()
        {
            MachineViewModel viewModel = new MachineViewModel();

            viewModel.Machines = await plantRepository.MachinesGet();

            viewModel.Blades = await plantRepository.BladeListItemGet();

            return(viewModel);
        }