예제 #1
0
        public IActionResult Create(int id)
        {
            var project = projectRepo.GetById(id);
            var model   = expenseRepo.AssignProjectId(id);

            model.Project = project;
            return(View(model));
        }