public async Task <DepartmentChildren> PutDepartmentChildrenAsync(DepartmentChildren departmentChildren)
        {
            IRestService       rest = new RestService();
            DepartmentChildren updatedDepartmentChildren = await rest.PutDepartmentChildrenAsync(departmentChildren);

            return(updatedDepartmentChildren);
        }
        public async Task <DepartmentChildren> DeleteDepartmentChildrenAsync(long Id)
        {
            IRestService       rest = new RestService();
            DepartmentChildren deletedDepartmentChildren = await rest.DeleteDepartmentChildrenAsync(Id);

            return(deletedDepartmentChildren);
        }
        public async Task <DepartmentChildren> LogonAsync()
        {
            IRestService       rest = new RestService();
            DepartmentChildren authorizedDepartmentChildren = await rest.LogonAsync(this);

            return(authorizedDepartmentChildren);
        }