Beispiel #1
0
        public async Task <IActionResult> Create()
        {
            var typeservices = await _typeserviceService.FindAllAsync();

            var viewModel = new LegalpersonFormViewModel {
                Typeservices = typeservices
            };

            return(View(viewModel));
        }
Beispiel #2
0
        public async Task <IActionResult> Create()
        {
            var typeservice = await _typeserviceService.FindAllAsync();

            var viewModel = new PartnerFormViewModel
            {
                Typeservice = typeservice
            };

            return(View(viewModel));
        }
 public async Task <IActionResult> Index()
 {
     return(View(await _typeserviceService.FindAllAsync()));
 }