public IActionResult Index() { return(View(new HomeViewModel() { VisibleForms = _formsRepository.GetAllVisible(), LastChangedTimestamp = TimestampConvert.ConvertToTimestamp(_formsRepository.GetLastChanged()) })); }
public IActionResult LastChanged() { long timestamp = TimestampConvert.ConvertToTimestamp(_formsRepository.GetLastChanged()); return(Ok(timestamp)); }