//
        // GET: /Department/
        public ActionResult Index(int? page = 1)
        {
            IPagedList<DepartmentViewModel> modelList = null;

            using (ModelRepository db = new ModelRepository(this._factory.GetDatabaseObject()))
            {
                DepartmentService service = new DepartmentService(db);
                modelList = service.GetPagedList(this._toViewModel, page ?? 1);
            }

            return View(modelList);
        }