Пример #1
0
        public ActionResult LoadPendingCount()
        {
            int count = 0;

            using (var client = new LeaveClient())
            {
                count = client.GetPendingApprovalCount(UserId);
            }
            return(PartialView("PendingApprovalCountPartial", count));
        }