public ActionResult ShowCalendar(Guid guid) { var company = _companyService.GetByGuid(guid); if (company != null) { return(RedirectToAction("Index", "Calendar", new { companyId = company.Id, isReadOnly = true })); } return(RedirectToAction("Index", "Home")); }