Exemplo n.º 1
0
        public async Task OnPostUpdateElementAsync()
        {
            DateTime instDate = Convert.ToDateTime(Request.Form["Element-Installed"]);
            DateTime rplcDate = Convert.ToDateTime(Request.Form["Element-Replace"]);

            elementModel.Installed = instDate;
            elementModel.Replace   = rplcDate;

            await _checklistService.UpdateChecklistElement(elementModel);
        }