示例#1
0
        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"));
        }