コード例 #1
0
        public IActionResult ExperienceGrowth(ExperienceGrowth experienceGrowth)
        {
            this.dataService.DeleteExperienceGrowth(experienceGrowth.Id);

            return(this.RedirectToAction("ExperienceGrowths", "Admin"));
        }
コード例 #2
0
        public IActionResult ExperienceGrowth(int id)
        {
            ExperienceGrowth model = this.dataService.GetObjectByPropertyValue <ExperienceGrowth>("Id", id);

            return(this.View(model));
        }