public IActionResult Add(int id) { if (ThemeService.CanCreate(id, GetUser())) { return(View("Control", new ThemeControl(id, null))); } else { return(Redirect(AccessCode.NoPremision)); } }