public IActionResult Edit(int id, bool fromSchedule = false) => Perform(() => QueryProcessor.Process(new SignEditQuery(id)), sign => { ViewBag.Signs = QueryProcessor.GetSigns(sign.Value.TypiconId, DEFAULT_LANGUAGE, id); ViewBag.PrintTemplates = QueryProcessor.GetPrintTemplates(sign.Value.TypiconId); ViewBag.IsFromSchedule = fromSchedule; return(View(sign.Value)); });