public static Struct_Employee SaveEmployeeMasterDetails(string EmployeeID, string EmployeeDetails, bool isDeleted)
        {
            Struct_Employee empl = new Struct_Employee();
            LoginUser       currentUser;

            try
            {
                if (!GetUserSession(out currentUser))
                {
                    empl.errorCode    = 1001;
                    empl.errorMessage = "";
                    return(empl);
                }

                AdminManagerSP adminObj = new AdminManagerSP();
                if (!adminObj.SaveEmployeeMasterDetails(currentUser.CompanyID, currentUser.UserId, string.IsNullOrEmpty(EmployeeID) ? 0 : Convert.ToInt32(EmployeeID), EmployeeDetails, isDeleted, out empl))
                {
                    empl.errorCode    = adminObj.GetLastErrorCode();
                    empl.errorMessage = adminObj.GetLastError();
                }
            }
            catch (Exception ex)
            {
                empl.errorCode    = -4;
                empl.errorMessage = "Unknown Error Occured";
                Utils.Write(ex);
            }

            return(empl);
        }