コード例 #1
0
        // GET: Field/Details/5
        public ActionResult Details(int id)
        {
            var     field   = fieldService.GetFieldById(id);
            FieldVM fieldVM = new FieldVM()
            {
                ID   = field.ID,
                Name = field.Name
            };

            return(View(fieldVM));
        }