よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public ActionResult GetTimerList() { List <LocationDockQuery> ldq = _repo.GetLocationDockings1(); List <TimerModel> list = new List <TimerModel>(); foreach (var d in ldq) { list.Add(new TimerModel { TimeDisplayName = "Display_" + d.LocationCode, ReleaseDateTime = d.EndTime.ToString() }); } ViewBag.TimerList = list; return(View("TimerReset", ldq)); }