コード例 #1
0
        public PartialViewResult ShowT_HClassModal(int?id)
        {
            var input = new NullableIdDto <int> {
                Id = id
            };

            SelectStaffModel viewModel = new SelectStaffModel()
            {
                Id = int.Parse(input.Id.ToString())
            };

            // var viewModel = new CreateOrEditT_ItemModalViewModel(output);


            return(PartialView("ShowT_HClassModal", viewModel));
        }
コード例 #2
0
        public PartialViewResult SelectStaff_ClassModal(int?id)
        {
            var input = new NullableIdDto <int> {
                Id = id
            };

            //var output = await _t_StaffAppService.GetT_StaffForEditAsync(input);
            SelectStaffModel viewModel = new SelectStaffModel()
            {
                Id = int.Parse(input.Id.ToString())
            };


            //var viewModel = new CreateOrEditT_StaffModalViewModel(output);


            return(PartialView("SelectStaff_ClassModal", viewModel));
        }