public ActionResult T_COM_Master_EmployeeEvt(int[] EmployeeCode, string Action)
        {
            // You have your books IDs on the deleteInputs array
            switch (Action.ToLower())
            {
            case "delete":

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


            return(View("PostFrm"));
        }
        /// <summary>
        /// use for setting up default value
        /// </summary>
        /// <returns></returns>
        public ActionResult Update(int EmployeeCode, string TargetID = "T_COM_Master_Employeelist")
        {
            T_COM_Master_Employee objItem = T_COM_Master_EmployeeManager.GetById(EmployeeCode);

            objItem.TargetDisplayID = TargetID;
            return(View(ViewFolder + "Create.cshtml", objItem));
        }
        public ActionResult Get(int EmployeeCode, string action)
        {
            T_COM_Master_Employee objItem = T_COM_Master_EmployeeManager.GetById(EmployeeCode);

            return(Content(JsonConvert.SerializeObject(objItem), "application/json"));
        }
        public ActionResult Get(int EmployeeCode)
        {
            T_COM_Master_Employee objItem = T_COM_Master_EmployeeManager.GetById(EmployeeCode);

            return(View(objItem));
        }