public ActionResult UnReadTranslationList() { int pageIndex = 1; int pageSize = 10; if (!string.IsNullOrEmpty(Request["pageIndex"])) { int.TryParse(Request["pageIndex"].ToString(), out pageIndex); } if (!string.IsNullOrEmpty(Request["pageSize"])) { int.TryParse(Request["pageSize"].ToString(), out pageSize); } long intentionId = 0; if (!string.IsNullOrEmpty(Request["intentionId"])) { long.TryParse(Request["intentionId"].ToString(), out intentionId); } ViewBag.IntentionId = intentionId; ViewBag.Intentions = BaseService.GetIntentions(CurrentManager.ParentId != 0 ? CurrentManager.ParentId : CurrentManager.Id); ViewBag.CurrentManager = CurrentManager; ViewBag.ChildManagers = ManageService.GetChildManagers(CurrentManager.Id); return (View(TranslationService.GetEmailTranslations(CurrentManager.ManagerType, EmailStatusEnum.UnRead, Utils.CoreDefaultValue.False, CurrentManager.Id, intentionId, pageIndex, pageSize))); }