コード例 #1
0
        public ActionResult GetAllVisitorsCategory()
        {
            VisitorsCategoryRepository visitorsCategoryRepository = new VisitorsCategoryRepository();

            ModelState.Clear();
            return(View(visitorsCategoryRepository.GetAllVisitorsCategory()));
        }
コード例 #2
0
 public AccountController()
 {
     accountRepository          = new AccountRepository();
     visitorsCategoryRepository = new VisitorsCategoryRepository();
 }