コード例 #1
0
 public ActionResult CreateLight(LightDO light = null)
 {
     if (light != null)
     {
         if (_adminService.CreateLight(light.ToLight()))
         {
             RedirectToAction("Light", "Home");
         }
     }
     return(View(light));
 }