/// <summary>
        /// use for setting up default value
        /// </summary>
        /// <returns></returns>
        public ActionResult Update(int Id, string TargetID = "T_LMS_Trans_LeaveStorylist")
        {
            T_LMS_Trans_LeaveStory objItem = T_LMS_Trans_LeaveStoryManager.GetById(Id);

            objItem.TargetDisplayID = TargetID;
            return(View(ViewFolder + "Create.cshtml", objItem));
        }
        public ActionResult T_LMS_Trans_LeaveStoryEvt(int[] Id, string Action)
        {
            // You have your books IDs on the deleteInputs array
            switch (Action.ToLower())
            {
            case "delete":

                if (Id != null && Id.Length > 0)
                {
                    int length = Id.Length;
                    T_LMS_Trans_LeaveStory objItem;
                    for (int i = 0; i <= length - 1; i++)
                    {
                        objItem = T_LMS_Trans_LeaveStoryManager.GetById(Id[i]);
                        if (objItem != null)
                        {
                            T_LMS_Trans_LeaveStoryManager.Delete(objItem);
                        }
                    }
                    return(View(ViewFolder + "list.cshtml", T_LMS_Trans_LeaveStoryManager.GetAll()));
                }
                break;
            }


            return(View("PostFrm"));
        }
        public ActionResult Get(int Id)
        {
            T_LMS_Trans_LeaveStory objItem = T_LMS_Trans_LeaveStoryManager.GetById(Id);

            return(View(objItem));
        }
        public ActionResult Get(int Id, string action)
        {
            T_LMS_Trans_LeaveStory objItem = T_LMS_Trans_LeaveStoryManager.GetById(Id);

            return(Content(JsonConvert.SerializeObject(objItem), "application/json"));
        }