// GET: Admin/Country
        public ActionResult Index(CountryModel model)
        {
            model           = new CountryModel();
            model.Countries = countrySrv
                              .GetEntries(model);

            return(View(model));
        }
        public PartialViewResult Navigation()
        {
            NavigationModel model = new NavigationModel();

            model.AuthUser = User.Identity.IsAuthenticated;

            if (model.AuthUser)
            {
                model.UserName = User.Identity.GetUserName();

                if (string.IsNullOrEmpty(model.UserName))
                {
                    model.UserName =
                        UserManager.GetEmail(User.Identity.GetUserId());
                }
            }

            model.Categories = categorySrv
                               .GetEntries(new Blogic.Model.PaginationModel {
                CountOnPage = 99999
            });

            return(PartialView(model));
        }
 // GET: Admin/Category
 public ActionResult Index(CategoryModel model)
 {
     model.Categories = categorySrv.GetEntries(model);
     return(View(model));
 }