public virtual ActionResult GetListPostofPersonel(long personId)
        {
            try
            {
                var data = _personManagementService.GetPostofPersonel(personId).Item3;

                var ja = new JArray();

                foreach (var itemObject in data.Select(item => new JObject
                {
                    { "PersonId", item.PersonId },
                    { "PostId", item.PostId },
                    { "PostName", item.PostName },
                    { "PostTypeId", (int)item.PostType },
                    { "PostType", item.PostType.ToString() },
                    { "LevelId", item.LevelId },
                    { "LevelName", item.LevelName }
                }))
                {
                    ja.Add(itemObject);
                }
                var jo = new JObject {
                    { "total", data.ToList().Count }, { "rows", ja }
                };
                return(Content(JsonConvert.SerializeObject(jo)));
            }
            catch (Exception ex)
            {
                return(Json(new { IsError = true, Message = "خطا در لود اطلاعات پرسنل" }));
            }
        }