Esempio n. 1
0
        public IActionResult Edit(int id)
        {
            var item = new TemperatureDataEntryModel
            {
                Temperature = _model.GetById(id),
                Calendar    = _model.GetLookup()
            };

            return(View("Form", item));
        }