Example #1
0
        public static bool UpdateDepartmentById(string accountId, string departmentId, string DepartmentName)
        {
            if (DepartmentName == null)
            {
                return(false);
            }
            int i = 0;

            i = Provider.UpdateDepartmentById(accountId, departmentId, DepartmentName);
            if (i != 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }